RedHatftproot logon error solution-general Linux technology-Linux technology and application information. For details, refer to the following section. I used RedHat Enterprise Server 5 to configure the ftp Server today. When I log on with an anonymous user anonymous, a success prompt is displayed! Successful! However, the above error is prompted when I log on as the root user! So I modified the configuration file and noted it out.
/Etc/vftpd/ftpusers(Note: The list of users prohibited from using vsftpd); # root in/etc/vsftpd/user_list (the list of users prohibited or allowed to use vsftpd, then, the following error message is displayed during logon!
500 OOPS: cannot change directory:/root
The solution is as follows:
#> Setsebool ftpd_disable_trans = 1
Add local_root/in/etc/vsftpd. conf/
Still unable to solve the problem
Then execute the following command:
# Setsebool-P ftpd_disable_trans 1
# Service vsftpd restart
Problem solved!
9-7-6
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