selinux ftp access setting
List all of the selinux related ftp setting
========================================================
sestatus -b | grep ftp
allow_ftpd_anon_write off
allow_ftpd_full_access off
allow_ftpd_use_cifs off
allow_ftpd_use_nfs off
ftp_home_dir on
ftpd_connect_db off
httpd_enable_ftp_server off
sftpd_anon_write off
sftpd_enable_homedirs off
sftpd_full_access off
sftpd_write_ssh_home off
tftp_anon_write off
setsebool -P ftp_home_dir=1
setsebool -P allow_ftpd_full_access on
========================================================
sestatus -b | grep ftp
allow_ftpd_anon_write off
allow_ftpd_full_access off
allow_ftpd_use_cifs off
allow_ftpd_use_nfs off
ftp_home_dir on
ftpd_connect_db off
httpd_enable_ftp_server off
sftpd_anon_write off
sftpd_enable_homedirs off
sftpd_full_access off
sftpd_write_ssh_home off
tftp_anon_write off
setsebool -P ftp_home_dir=1
setsebool -P allow_ftpd_full_access on
留言