500
Oops: vsftpd: cannot locate user specified in 'ftp _ username': ftp
Error message. I searched on Google and found a mail very useful:
Http://lists.debian.org/debian-user/.../msg02648.html
Here is a reference:
Yep, I did. There is no occurrence of the string "tunable" anywhere in the vsftpd. conf man page...
However, I 've been delving into the source code, and now understand this-the author uses the name of a Config File directive * prefixed by * "Tunable _" inside the source code as a variable name. so what I needed to do was define "ftp_username" in vsftpd. conf.
For some reason the Debian package leaves a little to be desired in this area, and neither asks you how you want this directive set, nor creates an account for use with vsftpd anonymous connections. the default for this directive is the name "ftp", but there
Has never been an "ftp" account on my Woody system, nor was one created by the vsftpd installation.
The author mentioned that he received a 500 oops message, but the tunable_ftp_username mentioned in the message cannot be found anywhere. Later, he checked the source code and found that the source code uses a variable prefixed with "Tunable _". In fact, the vsftpd. conf variable should be the direve ve of ftp_username. Therefore, he added the ftp_username = xxx (User) line to vsftpd. conf. However, he also complained that the Debian release did not identify such problems anywhere. The Default User of ftp_username should be FTP, but this ftp user does not exist after Woody is installed by default, and this user is not added after vsftpd is installed.
Note: I use ftp_username = nobody and then log on to/etc/init. d/vsftpd restart.