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: [EMAIL PROTECTED] root]# mkdir /var/ftp/ [EMAIL PROTECTED] root]# useradd -d /var/ftp ftp (the next two are useful to run even if the user "ftp" already exists). [EMAIL PROTECTED] root]# chown root.root /var/ftp [EMAIL PROTECTED] 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/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]