vsftpd is a GPL licensed FTP server for UNIX systems, including Linux; it is the default FTP daemon for distributions such as Red Hat Enterprise Linux amongst others.

learn more… | top users | synonyms

14
votes
2answers
28k views

Allowing FTP with IPTables

My current scenario involves allowing various rules, but I need ftp to be accessible from anywhere. The OS is Cent 5 and I am using VSFTPD. I can't seem to get the syntax correct. All other rules ...
10
votes
4answers
25k 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 ...
7
votes
4answers
21k views

How to configure vsftpd to allow root logins?

I'm on SLES 10.1, and trying to configure vsftpd to allow root logins. Does anyone know how to do this? So far, I have this: local_enable=YES chroot_local_user=NO userlist_enable=YES ...
5
votes
2answers
6k 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 ...
5
votes
1answer
2k 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 ...
5
votes
3answers
1k 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
4answers
3k 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 ...
4
votes
1answer
10k 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 ...
4
votes
2answers
4k views

Ubuntu 12.04 - Howto downgrade vsftpd?

How can I downgrade vsftpd from the latest Ubuntu package (2.3.5) to version 2.3.2? I have tried to put this into /etc/apt/preferences file: Package: vsftpd Pin: version 2.3.2* Pin-Priority: 1001 ...
4
votes
4answers
10k 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 ...
4
votes
5answers
7k views

AWS:EC2:: Could not connect FTP client?

My Server OS: Amazon Linux I am trying to set up ftp. I have: Installed vsftpd open port 20-21 open port 1024 - 1048 Basically, I followed every of these steps Start vsftpd service (the status ...
4
votes
1answer
5k 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
5answers
2k views

Unable to upload file FTP

I have everyone restricted to their home folder via FTP. Within each home I have a public_html directory which I'm not able to upload to. I have added my user source to the ftp group. the ...
3
votes
6answers
8k 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 ...
3
votes
3answers
11k 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 ...
3
votes
1answer
6k 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 ...
3
votes
2answers
1k views

Permanent mount and bind on CentOS?

I have set up a CentOS 6.2 VirtualBox along with FTP and Apache root of /var/www/html/. By default, the user ftp account is set to /home/user_name/. However, I'm guessing it's common practice to ...
3
votes
3answers
2k views

vsftpd does not create pid file required for monit

I want to monitor vsftpd server from monit on CentOS 5.4 but somehow vsftpd does not create pid file in /var/run (nor in any other place). Is this behavior normal for this distro? How should I ...
3
votes
1answer
16k views

How Do I Install a Webmin Module?

I found that my Webmin doesn't come with the vsftpd module to configure vsftpd. I found on their site that that they have a download tarball. I downloaded it, but don't know what the proper steps are ...
3
votes
1answer
2k 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
2answers
781 views

sftp vs ftps, securing SSH and virtual users vsftpd

right now, i would like to encrypt data tranmission over ftp. I considered sftp and fpts. After reading the www, I concluded there is a general tendency to favor sftp over ftps (eg. ...
3
votes
3answers
3k 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 ...
3
votes
3answers
5k 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
2answers
6k 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
1answer
10k 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
550 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
1answer
1k 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 ...
3
votes
3answers
791 views

Grouping vsftpd failures using logwatch

I'm trying to compact the syslog entries from vsftpd with logwatch, to get from: vsftpd: pam_succeed_if(vsftpd:auth): error retrieving information about user Administrator vsftpd: ...
3
votes
1answer
568 views

Can't log in to FTP on Debian with vsftpd

Linux noob here so please bear with me :) 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 ...
3
votes
1answer
717 views

vsftpd fast for binary files, slow for text files

I am running vsftpd 2.2.1 on an Ubuntu 8.04 machine with a pretty straight-forward configuration and am experiencing a strange issue regarding uploads to the machine via FTP. If I upload text files ...
3
votes
1answer
821 views

Utility to monitor vsftpd.log

Is there a Linux utility that can monitor vsftpd.log an extract bandwidth usage information for every user ?
3
votes
3answers
2k views

Ubuntu Server: Networking fails with MODPROBE option in /etc/network/interfaces …?

For some reason (which I haven't been able to determine yet), yesterday morning the networking service on our web server (running Ubuntu 8.04.2 LTS -- hardy) wouldn't start, and our website went down. ...
3
votes
1answer
3k 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
800 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 ...
3
votes
2answers
2k 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 ...
2
votes
2answers
626 views

setenforce: SELinux is disabled

I'm in a CentOS 5 machine, and try to install vsftpd. I want to configure ftp_home_dir using setsebool -P ftp_home_dir on but it says: setsebool: SELinux is disabled. I try to enable it using ...
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
4answers
154 views

How to own a folder and use by 3 users

3 users, 1 folder. Users: vsftpd (FTP server), bobmarley (normal user), www-data (Apache user) How to unite them and make so that each user can modify any of these user's data, without doing CHMOD ...
2
votes
2answers
269 views

VSFTPD - Linux (CentOS 5) - Making a single dir FTP root

I have a VPS running CentOS5 with Apache 2.2 and mySQL, as well as VSFTPD for ftp. The user liam is a system user. I want to make the /home/html directory the ftp root for the liam user, so that when ...
2
votes
2answers
1k 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. sudo htpasswd -c /etc/vsftpd/ftpd.passwd phpmyadmin Will not ...
2
votes
2answers
1k 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? ...
2
votes
1answer
3k 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?
2
votes
1answer
3k views

Impossible to connect to VSFTPD from distant server

My FTP server is a CentOS 5.4 with VSFTPD. When I try to ls after connecting to my server using FTP I get this : ftp> ls 229 Entering Extended Passive Mode (|||12206|) ftp: Can't connect to ...
2
votes
1answer
475 views

FTP user with home /var/www and group www-data has no write permission to /var/www

I have problems giving my FTP user who does not have sudo rights, write permission to /var/www. Question: How can I give the FTP user write permission to /var/www & subfolders only? ls -ld ...
2
votes
1answer
1k views

Cannot read/write FTP directory vsftpd on centos 6.0 (empty folder)

I have Centos 6.0 and installed vsftp with YUM, I added a user with Webmin panel, set its home dir to "/var/www/html" and its shell to "/bin/sh", user id is 500, user group is same as name: ...
2
votes
1answer
83 views

Connections Number of VSFTP in Passive Mode

When working with passive mode, if we set pasv_max_port to 10100 and pasv_min_port to 10090. Does it mean the VSFTP server can only service 10 clients concurrently? Can we set a same port number to ...
2
votes
2answers
282 views

Euro character messed up during FTP transfer

My customer is using a very outdated ecommerce management system on my hosting service. For that product, no support is being provided anymore by the vendor. Brief explanation: the shop website, that ...
2
votes
3answers
483 views

How to configure Web/FTP Server so that it downloads .sh files instead of showing its content

I have an FTP server (vsftpd) where there are many files of various types. Normally when you click on .tar.gz file in your browser, it starts downloading it. The problem is when user clicks on .sh ...
2
votes
1answer
227 views

How to set individual root folder for every ftp user other than home folder

Installed vsftpd server in Redhat Linux 5. Where, i want to give the ftp access for my developer other than home directory that is for example /var/www/ directory contains project data. Here, how ...
2
votes
1answer
904 views

Trying to understand symlink behavior with vsftpd

I recently moved my website to a CentOS 6 VPS (from a HyperVM-enabled CentOS 5 VPS). I set up vsftpd to handle our FTP needs. I created a local user for everyone who needs to use the FTP. For my ...