1nfs_selinux(8) nfs Selinux Policy documentation nfs_selinux(8)
2
3
4
6 nfs_selinux - Security Enhanced Linux Policy for NFS
7
9 Security-Enhanced Linux secures the nfs server via flexible mandatory
10 access control.
11
13 SELinux policy is customizable based on least access required. So by
14 default SElinux policy does not allow nfs to share files. If you want
15 to setup this machine to share nfs partitions read only, you must set
16 the boolean nfs_export_all_ro boolean.
17
18
19 setsebool -P nfs_export_all_ro 1
20
21 If you want to share files read/write you must set the
22 nfs_export_all_rw boolean.
23
24 setsebool -P nfs_export_all_rw 1
25
26
27 If you want to use a remote NFS server for the home directories on this
28 machine, you must set the use_nfs_home_dir boolean.
29
30 setsebool -P use_nfs_home_dirs 1
31
32 system-config-selinux is a GUI tool available to customize SELinux pol‐
33 icy settings.
34
36 This manual page was written by Dan Walsh <dwalsh@redhat.com>.
37
38
40 selinux(8), chcon(1), setsebool(8)
41
42
43
44dwalsh@redhat.com 17 Jan 2005 nfs_selinux(8)