[root@localhost ~]# setsebool allow_ftpd_anon_write=1 allow_ftpd_full_access=1 ftp_home_dir=1 [root@localhost ~]# getsebool -a |grep ftp allow_ftpd_anon_write --> on allow_ftpd_full_access --> on allow_ftpd_use_cifs --> off allow_ftpd_use_nfs --> off ftp_home_dir --> on ftpd_connect_db --> off ftpd_use_fusefs --> off ftpd_use_passive_mode --> off httpd_enable_ftp_server --> off tftp_anon_write --> off tftp_use_cifs --> off tftp_use_nfs --> off [root@localhost ~]# /etc/init.d/vsftpd restart Shutting down vsftpd: [ OK ] Starting vsftpd for vsftpd: [ OK ] [root@localhost ~]# cat /etc/issue CentOS release 6.6 (Final) Kernel \r on an \m
原文链接:https://www.f2er.com/centos/375972.html