From FedoraProject

< SELinux
Revision as of 16:28, 24 May 2008 by Admin (Talk | contribs)

Jump to: navigation, search
nfs_selinux(8)         nfs Selinux Policy documentation         nfs_selinux(8)

nfs_selinux - Security Enhanced Linux Policy for NFS

Security-Enhanced  Linux  secures the nfs server via flexible mandatory
access control.

SELinux policy is customizable based on least access required.   So  by
default  SElinux policy does not allow nfs to share files.  If you want
to setup this machine to share nfs partitions read only, you  must  set
the boolean nfs_export_all_ro boolean.

setsebool -P nfs_export_all_ro 1

If   you   want   to   share   files   read/write   you  must  set  the
nfs_export_all_rw boolean.

setsebool -P nfs_export_all_rw 1

If you want to use a remote NFS server for the home directories on this
machine, you must set the use_nfs_home_dir boolean.

setsebool -P use_nfs_home_dirs 1

system-config-securitylevel  is  a  GUI  tool  available  to  customize
SELinux policy settings.

This manual page was written by Dan Walsh <>.

selinux(8), chcon(1), setsebool(8)                 17 Jan 2005                   nfs_selinux(8)