`vsftpd` is a fast, stable GPL-licensed FTP server for Unix/Linux systems.

learn more… | top users | synonyms

30
votes
4answers
96k views

How to configure vsftpd to work with passive mode

Whenever I install vsftpd on centos, I only setup the jail environment for the users and rest is default configuration of vsftpd. I create user and try to connect with filezila ftp client but I could ...
12
votes
2answers
13k views

Why is the chroot_local_user of vsftpd insecure?

I'm setting up on my VPS a vsftpd, and i don't want users be allowed to leave they're ftp home directory. I'm using local_user ftp, not anonymous, so I added: chroot_local_user=YES I've read in ...
12
votes
4answers
27k views

vsFTPd default uploaded file permissions on Ubuntu not working

I have a Server running Ubuntu 12.10 x64, and the last version of vsFTPd. My user example.com has its home folder set on /var/www/example.com, I created a public_html folder inside and gave 777 ...
9
votes
3answers
12k views

vsftpd: allow access only for certain users

I want to setup FTP server to allow only certain users, so with vsftpd, I add in vsftpd.conf: local_enable=YES user_config_dir=/etc/vsftpd_user_conf In /etc/vsftpd_user_conf for the unix user foo I ...
8
votes
1answer
123 views

CentOS 7 - Directories created through VSFTPD not inheriting SELinux contexts

Our company has a webserver with CentOS 7 and our customers manage their websites through FTP (vsftpd). SELinux is in enforcing mode. The issue is that data created/uploadad through VSFTPD is not ...
8
votes
2answers
1k views

vsftpd - PAM - MySQL and pam_mkhomedir to create directories

I've been successfully using vsftpd with virtual users connecting with PAM to my mysql DB. Now I'd like to automate creation of user directories with successful vsftpd connection. Here is /etc/pam.d/...
7
votes
2answers
59k views

Create new vsftpd user and lock to (specify) home / login directory

I need to periodically give temporary and limited access to various directories on a CentOS linux server that has vsftp installed. I've created a user using useradd [user_name] and given them a ...
7
votes
1answer
6k views

Can I configure VSFTPD to listen only to localhost?

I have a legacy app that needs FTP and cannot do SFTP. My solution is: put an FTP server in place using VSFTPD configure the firewall to accept port 21 connections only from localhost Set up an SSH ...
7
votes
3answers
5k views

vsftpd will not accept passwords encrypted with MD5

I am setting up an server with vsftpd to let virtual users access their space. Now it is fully working but only with CRYPT passwords. So sudo htpasswd -c /etc/vsftpd/ftpd.passwd phpmyadmin will ...
7
votes
2answers
6k views

Issues with VSFTPD / FTP on Linux Ubuntu server - Steps for Troubleshooting?

I am dealing with an issue I am unclear on how to resolve and have been pulling my hair out for some time. I have been trying to configure an FTP user using the following (we use this same ...
6
votes
2answers
19k views

vsftpd - local_root=/var/www/sites/$USER doesn't get interpreted?

When I'm trying to connect to FTP server I get: "500 OOPS: cannot change directory:/home/$USER/public_html" when I do echo $USER - I get proper username seems like $USER isn't interpreted inside my /...
6
votes
5answers
20k views

VSFTPD 530 Login incorrect

I'm trying to get a vsftpd server set up on CentOS 5.3 x64. I'm not able to get any local user login's to work. Here is my vsftpd.conf: local_enable=YES write_enable=YES pam_service_name=vsftpd ...
6
votes
4answers
5k views

Setting up vsftpd, hangs on list command

I installed vsftpd and configured it. When I try to connect to the ftp server using Transmit, it manages to connect but hangs on Listing "/" Then, I get a message stating: Could not retrieve file ...
6
votes
3answers
2k views

How does a vsftpd server work and how to configure it?

I was asked to configure a FTP server, based on the vsftpd package. The server is running on a remote machine to which I have a superuser privilege access. Being unfamiliar with the mechanics of FTP ...
5
votes
3answers
7k views

Using FTPS (FTP over explicit TLS/SSL) with active ftp?

I am using vsftpd with active ftp. I have module "ip_conntrack_ftp" (in /etc/sysconfig/iptables-config) on and port 21 is open. Connecting with FTP works, but FTPS doesn't. I can login but get no ...
5
votes
2answers
2k views

500 OOPS: SSL: cannot load RSA private key vsftpd

I'm configuring vsfptd on debian 7.3, I'm trying to use ssl. I generate the certficates using this command: openssl req -x509 -nodes -days 1925 -newkey rsa:2048 -keyout /etc/vsftpd/private/vsftpd2....
4
votes
6answers
13k views

VSFTPD and Implicit SSL

I have a Debian Dedicated server and I want to enable Implicit SSL on it using VSFTPD and I am having a hard time. I have read online and the only thing I can really find is how to enable SSL and in ...
4
votes
2answers
31k views

Default owner/permissions of created files via VSFTPD

How do I set the default values of directories and files created to be 775 ? My understanding is that I need to modify the umask on VSFTPD, but how do I know what to change it to?
4
votes
3answers
16k views

Quotas in vsftpd?

I tried to configure user disk quotas for vsftpd. I configured quotas for ftp virtual users using the "quota" package on debian (you know, by editing /etc/fstab and all that stuff). Internet told me ...
4
votes
1answer
8k views

VSFTPD - Change User Home Directory

I need to update a ftp user's home directory. Could I run the userdel command then re-add the user without losing the directory the user was attached to? Or is there another way to change the user's ...
4
votes
1answer
6k views

How do I set the default group for a vsftpd user's uploads? (ubuntu 10.04)

How do I set the default group for a vsftpd user's uploads? When I upload a file, the files group is set to the username... How do I get it to automatically set to a specific group?
4
votes
2answers
2k views

Setting up VSFTPD on AWS EC2 Instance

I'm trying to set up VSFTPD passive hosting on my EC2 instance. I ran through these instructions http://www.synergycode.com/knowledgebase/blog/item/ftp-server-on-amazon-ec2 . However, when I tried to ...
4
votes
1answer
7k views

vsFTPd and iptables - how to configure them in CentOS 5.5?

I've installed vsFTPd in CentOS 5.5, on two servers, and added this rule to their iptables: -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT Looks like this is not ...
4
votes
2answers
2k views

VSFTPD - FTP over TLS - Upload stops after exactly 82k?

I installed a VSFTP daemon on a CentOS server, using a RSA certificate for logging in using explicit TLS. Now, I cannot upload more than 82k. With files under that limit, there is no problem. The FTP ...
4
votes
3answers
2k views

VSFTPD does not allow upload with virtual users

I am attempting to setup VSFTPD with virtual users on a server running Ubuntu 12.04. I have configured the server to allow for virtual users to login, but I am having trouble getting it to allow ...
3
votes
1answer
9k views

500 OOPS: vsftpd: refusing to run with writable root inside chroot() Login failed on debian

I install vsftpd for running FTP server on debian 7.3. I checked vsftpd version was 2.3.5 and i configure it like so: listen=YES local_enable=YES write_enable=YES chroot_local_user=YES pasv_min_port=...
3
votes
2answers
10k views

Filezilla client and VSFTPD : GnuTLS error -12: A TLS fatal alert has been received

so right now i'am trying to configure vsftpd server for FTP(e)S. It seems i am encountering issues with different clients. Secure FTPD works fine for me. Filezilla not. The output from Filezilla ...
3
votes
1answer
1k views

FTP hanging at “150 Here comes the directory listing.”

I have a CentOS server running VSFTPD so I can upload files to my site. When I connect to the FTP, it lists the folders in the root directory, and I can open all of the folders apart from a folder ...
3
votes
1answer
3k views

configuring vsftpd anonymous upload. Creates files but freezes at 0 bytes

vsftpd on ubuntu after sudo apt-get install vsftpd Then did configuration as in the attached /etc/vsftpd.conf file. Anonymous ftp allows cd to the upload directly and allows put myfile.txt which gets ...
3
votes
3answers
9k views

VSFTP Config to send users to specific folders

I have approximately 30 users on a box. Those users are in overlapping groups(about 6-10 groups). I need them to be able to land in a specific folder based on their group assignment when they FTP in. ...
3
votes
1answer
2k views

Setting File Permissions on VSFTP Upload

Whenever I upload a file to my FTP server running VSFTP, the file permissions on it are defaulted to 600 (rw-------). How can I change it to 775 (rwxr-xr-x)?
3
votes
1answer
4k views

vsftp login errors 530 login incorrect

Using Ubuntu 10.04 on an aws ec2 instance. I was happy just using ssh but then a wordpress plugin needs ftp access...I just need ftp access for one site www.sitebuilt.net which is in /home/sitebuil. ...
3
votes
2answers
12k views

VsFTPd - LDAP - PAM

I am trying to configure a VsFTPd server to authenticate agains an LDAP server. It may be easy, but since it is the first time that I am using both LDAP and PAM, I have some difficulties. VsFTPd runs ...
3
votes
4answers
34k views

Allow anonymous upload for Vsftpd?

I need a basic FTP server on Linux (CentOS 5.5) without any security measure, since the server and the clients are located on a test LAN, not connected to the rest of the network, which itself uses ...
3
votes
1answer
12k views

FTP issue - VSFTPd and connecting to from FileZilla

I'm trying to connect to a CentOS Linux box that I have hosted on EC2 and I think I have everything configured correctly but when I try to connect I get this series of messages Status: Connection ...
3
votes
1answer
178 views

vsftp: why is allow_writeable_chroot=YES a bad idea?

There are several thousand blog posts about vsftp and allow_writeable_chroot=YES The common error message: Fixing 500 OOPS: vsftpd: refusing to run with writable root inside chroot () I solved ...
3
votes
1answer
2k views

VSFTPD how chroot not chrooted users in /home?

I need to chroot all local users to their home directories, but one user should have access to all user directories. If I put admin_user in chroot_list_file he has access for whole file system. I want ...
3
votes
1answer
1k views

vsftpd - Allow access certain user only from certain IP range

I am using CentOS 6 (64bit) and have VSFTPD installed. I have two different users for vsftpd: privateuser and publicuser. I need to configure that only privateuser can login to the ftp server from ...
3
votes
2answers
3k views

Command to view logged on users in vsftpd?

I am using vsftpd installed on RHEL5. I need to get the current logged on ftp users, so I issued last|grep 'still' but it didn't display the ftp users. What is the command to achieve this?
3
votes
4answers
12k views

ftp upload / how to change permissions / ownership “automagically”?

I've got a vsftp server running. Here's what I want to do : 2 developpers are given the access through an ftp client to a web directory. They write the files they want. Then they refresh the pages (...
3
votes
1answer
11k views

Can't log in to FTP on Debian with vsftpd

I'm trying to setup FTP access to my Apache server but I'm receiving a 530 Login Incorrect error. I installed the vsftp package via sudo apt-get install vsftpd. I've tried connecting to ftp://(my ...
3
votes
2answers
7k views

vsftpd - The data connection could not be established: EHOSTUNREACH - No route to host

I have a VPS running vsftpd v3.0.2 on CentOS 6.4. When I try to connect to my ftp server I get the error: The data connection could not be established: EHOSTUNREACH - No route to host The console ...
3
votes
2answers
3k views

vsftp hangs at “150 Here comes the directory listing.”

In a vsftpd server enviroment, shared various directories from nfs mountpoints, I can log in without problem, but when I send the first "ls", the vsftp give me the directory listing: lftp user1@10.10....
3
votes
1answer
4k views

vsftpd error: 500 OOPS: setuid

I sometimes get an error when I want to login via ftp. The error is 500 OOPS: setuid. I can't figure out why this happens sometimes, but sometimes it doesn't. I've se the limit of processes per user ...
3
votes
1answer
1k views

vsftpd with pam_winbind.so

I'm trying to setup vsftpd to use logins from our domain. I want the ftp users to be able to login using their active directory username/password and have be able to have full access to /media/storage/...
2
votes
3answers
2k views

CentOS / Redhat: Give file permission for apache and vsftp

I use CentOS 5.5 and Apache Webserver on my dedicated Server. My Folder "/var/www/myWebApp" is owned by apache, so that apache can read, write logs, etc.. But now I would like to use very secure FTP (...
2
votes
1answer
8k views

vsftpd : limit connection to a set of IP addresses

Is it possible to setup vsftpd to only accept connections from a certain set of IP addresses? I've looked at the /etc/vsftpd.conf for options but there is no hint at that. The manual does not either. ...
2
votes
3answers
9k views

FTP doesn't allow /usr/sbin/nologin user

I want to setup a ftp for couple of ftp-only users with vsftpd. I configured the FTP to enable local user access. It works fine. But once I edit the users' shell to /usr/sbin/nologin, it couldn't log ...
2
votes
1answer
17k views

Failed to retrieve directory listing in Filezilla connecting to vsftpd

newbie here. At first I was unable to connect to vsftpd but I added port 21 in iptables (i'm running on Centos 6) and managed to make it work. But now, I can't get past Command: LIST in Filezilla ...
2
votes
2answers
3k views

Setting up vsftpd with users locked to specific directory

I setup vsftpd, and changed the chroot settings in the vsftpd.conf file. But how do I make a user able to access only /var/www/html/username_here/ I made the user with useradd, but what's next? ...