Unix and Linux Discussions Tagged with for each |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
0 |
11,263 |
Programming |
|
|
|
4 |
3,841 |
Shell Programming and Scripting |
|
|
|
3 |
1,623 |
Shell Programming and Scripting |
|
|
|
41 |
13,463 |
Shell Programming and Scripting |
|
|
|
3 |
12,218 |
Programming |
|
|
|
0 |
939 |
UNIX and Linux RSS News |
|
|
|
3 |
18,876 |
AIX |
|
|
|
7 |
5,111 |
IP Networking |
|
|
|
9 |
6,689 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
8,793 |
Shell Programming and Scripting |
|
|
|
1 |
1,907 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
34,867 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
3,476 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
4,587 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
6,981 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
18,076 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
2,238 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
15,243 |
UNIX for Dummies Questions & Answers |
|
|
|
10 |
6,444 |
UNIX for Advanced & Expert Users |
|
|
|
5 |
5,133 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
2,599 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
1 |
2,836 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,303 |
IP Networking |
|
|
|
1 |
2,979 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
15,294 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
60,489 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
5,559 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
9,417 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,561 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,518 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
6,364 |
IP Networking |
|
|
|
9 |
10,989 |
Cybersecurity |
|
|
|
3 |
28,980 |
Where do I download LINUX & UNIX? |
|
|
|
3 |
2,561 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
5,252 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
22,351 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,516 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,555 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,570 |
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)