Scroll to navigation

ftpd_selinux(8) ftpd SELinux policy documentation ftpd_selinux(8)

NAME

ftpd_selinux - Security-Enhanced Linux policy for ftp daemons.

DESCRIPTION

Security-Enhanced Linux provides security for ftp daemons via flexible mandatory access control.

FILE_CONTEXTS

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

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

This manual page was written by Dan Walsh <dwalsh@redhat.com>.

SEE ALSO

selinux(8), ftpd(8), setsebool(8), semanage(8), restorecon(8)

17 Jan 2005 dwalsh@redhat.com