ftpd_selinux | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
NAME | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
DESCRIPTION | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
FILE_CONTEXTS | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
SELinux requires files to have a file type. File types may be specified with semanage and are restored with restorecon. Policy governs the access that daemons have to files.
semanage fcontext -a -t public_content_t "/var/ftp(/.*)?"
semanage fcontext -a -t public_content_rw_t "/var/ftp/incoming(/.*)?"
BOOLEANS | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
SELinux policy is based on least privilege required and may also be customizable by setting a boolean with setsebool.
setsebool -P allow_ftpd_anon_write on
setsebool -P ftp_home_dir on
setsebool -P allow_ftpd_full_access on
setsebool -P allow_ftpd_use_cifs on
setsebool -P allow_ftpd_use_nfs on
AUTHOR | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
This manual page was written by Dan Walsh <dwalsh@redhat.com>.
SEE ALSO | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
selinux(8), ftpd(8), setsebool(8), semanage(8), restorecon(8)
Sommaire | Début | Suivant | Sommaire | Préc.page.lue | Accueil |
Table des mots clés | Début | Suivant | Sommaire | Préc.page.lue | Accueil |
restorecon -R -v /var/ftp | FILE_CONTEXTS |
restorecon -R -v /var/ftp/incoming | FILE_CONTEXTS |