Linux boot FTP server 530 Permission denied workaround
Re-installed Linux under the virtual machine. Now I want to start the FTP server that comes with Linux: #service vsftpd start. If you want Linux boot to be automatically started FTP server: #chkconfig vsftpd on.
Run Putty, enter as root, there was an error 530 Permission denied, feel very strange, because ordinary users can enter.
The reason is that we/etc/vsftpd/ftpusers and/etc/vsftpd/user_list the root of the user. At this point we need to modify these two files.
(1)/etc/vsftpd.user_list default file (that is, the specific user)
# vsftpd UserList
# If Userlist_deny=no, only allow users in the this file
# If Userlist_deny=yes (default), never allow users in the this file, and
# do not even prompt for a password.
# Note that the default Vsftpd Pam Config also checks/etc/vsftpd.ftpusers
# for users, that is denied.
Root
Bin
Daemon
cd/
Lp
Sync
Shutdown
Halt
Mail
News
Uucp
operator
Games
Nobody
At this point we need to add # to root.
(2)/etc/vsftpd.ftpusers default file (all user attributes that can be logged in to the FTP)
# Users that is not a allowed to login via FTP
Root
Bin
Daemon
cd/
Lp
Sync
Shutdown
Halt
Mail
News
Uucp
operator
Games
Nobody
At this point we need to add # to root.
Note: you do not have to restart the service to take effect
Linux boot FTP server 530 Permission denied workaround