Linux boot FTP server 530 Permission denied workaround

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.