With FTP installed, there are two problems:
1, 530 Permission denied. Login failed.
Workaround:
Modify/etc/vsftpd.ftpusers file, which records the inability to use the FTP logged in user, will root User Comments
Modify/etc/vsftpd.user_list file that will root user comments.
Description:/etc/vsftpd.user_list files associated with the/etc/vsftpd/vsftpd.conf file, if the userlist_enable= in the/etc/vsftpd/vsftpd.conf file YES (which is also the default setting), users listed in the/etc/vsftpd.user_list file will not be able to use FTP.
2. Oops:cannot Change Directory:/root
1. Execution Setsebool-p Ftpd_disable_trans 1
Then restart Ftp:service vsftpd restart
2. Execute setsebool-p Ftpd_disable_trans 1 Error Boolean Ftpd_disable_trans is not defined words
([email protected] vsftpd]# setsebool-p Ftpd_disable_trans 1
Boolean Ftpd_disable_trans is not defined)
Perform setsebool-p Ftp_home_dir 1 first
See Getsebool-a |grep ftp_home results as follows:
Ftp_home_dir-On
Then follow the 1th method of execution;
3. If it is still unsuccessful, execute the following command, and then restart the FTP
[Email protected] vsftpd]# Setsebool allow_ftpd_full_access 1
[Email protected] vsftpd]# Setsebool allow_ftpd_use_cifs 1
[Email protected] vsftpd]# Setsebool Allow_ftpd_use_nfs 1
[Email protected] vsftpd]# setsebool-p Ftp_home_dir 1
[Email protected] vsftpd]# Setsebool httpd_enable_ftp_server 1
[Email protected] vsftpd]# Setsebool tftp_anon_write 1
[Email protected] vsftpd]# service vsftpd restart
Resolve unable to log on to the Linux system via FTP