selinux-policy/man/man8/nfs_selinux.8

32 lines
1.3 KiB
Groff
Raw Normal View History

2009-03-05 13:58:31 +00:00
.TH "nfs_selinux" "8" "9 Feb 2009" "dwalsh@redhat.com" "NFS SELinux Policy documentation"
2006-01-06 22:51:40 +00:00
.SH "NAME"
nfs_selinux \- Security Enhanced Linux Policy for NFS
.SH "DESCRIPTION"
2009-03-05 13:58:31 +00:00
Security Enhanced Linux secures the NFS server via flexible mandatory access
2006-01-06 22:51:40 +00:00
control.
.SH BOOLEANS
2009-03-05 13:58:31 +00:00
SELinux policy is customizable based on the least level of access required. By default, SELinux policy does not allow NFS to share files. If you want to share NFS partitions, and only allow read-only access to those NFS partitions, turn the nfs_export_all_ro boolean on:
2006-01-06 22:51:40 +00:00
.TP
setsebool -P nfs_export_all_ro 1
.TP
If you want to share files read/write you must set the nfs_export_all_rw boolean.
.TP
setsebool -P nfs_export_all_rw 1
.TP
2009-03-05 13:58:31 +00:00
These booleans are not required when files to be shared are labeled with the public_content_t or public_content_rw_t types. NFS can share files labeled with the public_content_t or public_content_rw_t types even if the nfs_export_all_ro and nfs_export_all_rw booleans are off.
.TP
If you want to use a remote NFS server for the home directories on this machine, you must set the use_nfs_home_dirs boolean:
2006-01-06 22:51:40 +00:00
.TP
setsebool -P use_nfs_home_dirs 1
.TP
2007-04-02 13:58:33 +00:00
system-config-selinux is a GUI tool available to customize SELinux policy settings.
2006-01-06 22:51:40 +00:00
.SH AUTHOR
This manual page was written by Dan Walsh <dwalsh@redhat.com>.
2009-03-05 13:58:31 +00:00
.SH "SEE ALSO"
2006-01-06 22:51:40 +00:00
selinux(8), chcon(1), setsebool(8)