[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem With vsftpd - "tunable_ftp_username" ???



On Tue, May 21, 2002 at 02:35:38AM +0100, Nick wrote:
> I just replaced the ordinary ftpd as supplied with my Debian Woody/Pre
> system by the vsftpd deb in Testing, but now can't actually run any
> FTP sessions because vsftpd dies every time I connect, as follows :
>
> # ftp django
> Connected to django.mydomain.org.
> 500 OOPS: vsftpd: cannot locate user specified in
> 'tunable_ftp_username'
> ftp> bye
>

With the default vsftpd config file (/etc/vsftpd.conf) that comes with the
Debian stable vsftpd package, you need to add the user "ftp" and then make
sure the new user "ftp" does NOT have access to its own home directory.
The following commands will do the trick:
[root@localhost root]# mkdir /var/ftp/
[root@localhost root]# useradd -d /var/ftp ftp

(the next two are useful to run even if the user "ftp" already exists).
[root@localhost root]# chown root.root /var/ftp
[root@localhost root]# chmod og-w /var/ftp

Note: The above information is from the file INSTALL file at:
ftp://vsftpd.beasts.org/users/cevans/untar/vsftpd-1.1.3/






Reply to: