Chris PeBenito 60c395
.TH  "nfs_selinux"  "8"  "9 Feb 2009" "dwalsh@redhat.com" "NFS SELinux Policy documentation"
Chris PeBenito bf080a
.SH "NAME"
Chris PeBenito bf080a
nfs_selinux \- Security Enhanced Linux Policy for NFS
Chris PeBenito bf080a
.SH "DESCRIPTION"
Chris PeBenito bf080a
Chris PeBenito 60c395
Security Enhanced Linux secures the NFS server via flexible mandatory access
Chris PeBenito bf080a
control.  
Chris PeBenito bf080a
.SH BOOLEANS
Chris PeBenito 63f0a7
SELinux policy is customizable based on the least level of access required. SELinux can be configured to 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:
Chris PeBenito bf080a
Chris PeBenito bf080a
.TP
Chris PeBenito bf080a
setsebool -P nfs_export_all_ro 1
Chris PeBenito bf080a
.TP
Chris PeBenito bf080a
If you want to share files read/write you must set the nfs_export_all_rw boolean.
Chris PeBenito bf080a
.TP
Chris PeBenito bf080a
setsebool -P nfs_export_all_rw 1
Chris PeBenito bf080a
Chris PeBenito bf080a
.TP
Chris PeBenito 60c395
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.
Chris PeBenito 60c395
Chris PeBenito 60c395
.TP
Chris PeBenito 60c395
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:
Chris PeBenito bf080a
.TP
Chris PeBenito bf080a
setsebool -P use_nfs_home_dirs 1
Chris PeBenito bf080a
.TP
Chris PeBenito f4e2b1
system-config-selinux is a GUI tool available to customize SELinux policy settings.
Chris PeBenito bf080a
.SH AUTHOR	
Chris PeBenito bf080a
This manual page was written by Dan Walsh <dwalsh@redhat.com>.
Chris PeBenito bf080a
Chris PeBenito 60c395
.SH "SEE ALSO"
Chris PeBenito bf080a
selinux(8), chcon(1), setsebool(8)