Unix and Linux Discussions Tagged with for each |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
0 |
11,437 |
Programming |
|
|
|
4 |
3,909 |
Shell Programming and Scripting |
|
|
|
3 |
1,703 |
Shell Programming and Scripting |
|
|
|
41 |
13,645 |
Shell Programming and Scripting |
|
|
|
3 |
13,147 |
Programming |
|
|
|
0 |
956 |
UNIX and Linux RSS News |
|
|
|
3 |
19,018 |
AIX |
|
|
|
7 |
5,544 |
IP Networking |
|
|
|
9 |
7,119 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
9,172 |
Shell Programming and Scripting |
|
|
|
1 |
1,978 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
35,635 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
3,629 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
4,726 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
7,154 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
18,220 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
2,393 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
15,685 |
UNIX for Dummies Questions & Answers |
|
|
|
10 |
6,763 |
UNIX for Advanced & Expert Users |
|
|
|
5 |
5,328 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
2,809 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
1 |
3,015 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,430 |
IP Networking |
|
|
|
1 |
3,146 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
15,595 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
60,860 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
5,833 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
9,650 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,824 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,643 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
6,594 |
IP Networking |
|
|
|
9 |
11,457 |
Cybersecurity |
|
|
|
3 |
29,240 |
Where do I download LINUX & UNIX? |
|
|
|
3 |
2,806 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
5,424 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
22,535 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,665 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,697 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,756 |
UNIX for Dummies Questions & Answers |
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.
Allow ftp servers to read the /var/ftp directory by adding the public_content_t file type to the directory and by restoring the file type.
semanage fcontext -a -t public_content_t "/var/ftp(/.*)?"
restorecon -F -R -v /var/ftp
Allow ftp servers to read and write /var/tmp/incoming by adding the public_content_rw_t type to the directory and by restoring the file
type. This also requires the allow_ftpd_anon_write boolean to be set.
semanage fcontext -a -t public_content_rw_t "/var/ftp/incoming(/.*)?"
restorecon -F -R -v /var/ftp/incoming
BOOLEANS
SELinux policy is based on least privilege required and may also be customizable by setting a boolean with setsebool.
Allow ftp servers to read and write files with the public_content_rw_t file type.
setsebool -P allow_ftpd_anon_write on
Allow ftp servers to read or write files in the user home directories.
setsebool -P ftp_home_dir on
Allow ftp servers to read or write all files on the system.
setsebool -P allow_ftpd_full_access on
Allow ftp servers to use cifs for public file transfer services.
setsebool -P allow_ftpd_use_cifs on
Allow ftp servers to use nfs for public file transfer services.
setsebool -P allow_ftpd_use_nfs on
system-config-selinux is a GUI tool available to customize SELinux policy settings.
AUTHOR
This manual page was written by Dan Walsh <dwalsh@redhat.com>.
SEE ALSO
selinux(8), ftpd(8), setsebool(8), semanage(8), restorecon(8)
dwalsh@redhat.com 17 Jan 2005 ftpd_selinux(8)