nfs_selinux(8) - Linux man page
Name
nfs_selinux - Security Enhanced Linux Policy for NFSDescription
Security Enhanced Linux secures the NFS server via flexible mandatory access control.
Booleans
- 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
- 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.
- 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:
- setsebool -P use_nfs_home_dirs 1
- system-config-securitylevel is a GUI tool available to customize SELinux policy settings.
- If you want to share files read/write you must set the nfs_export_all_rw boolean.