此内容没有您所选择的语言版本。
5.3. Booleans
SELinux is based on the least level of access required for a service to run. Services can be run in a variety of ways; therefore, you need to specify how you run your services. Use the following Booleans to set up SELinux:
allow_ftpd_use_nfs
- When enabled, this Boolean allows the
ftpd
daemon to access NFS volumes. cobbler_use_nfs
- When enabled, this Boolean allows the
cobblerd
daemon to access NFS volumes. git_system_use_nfs
- When enabled, this Boolean allows the Git system daemon to read system shared repositories on NFS volumes.
httpd_use_nfs
- When enabled, this Boolean allows the
httpd
daemon to access files stored on NFS volumes. qemu_use_nfs
- When enabled, this Boolean allows Qemu to use NFS volumes.
rsync_use_nfs
- When enabled, this Boolean allows
rsync
servers to share NFS volumes. samba_share_nfs
- When enabled, this Boolean allows the
smbd
daemon to share NFS volumes. When disabled, this Boolean preventssmbd
from having full access to NFS shares via Samba. sanlock_use_nfs
- When enabled, this Boolean allows the
sanlock
daemon to manage NFS volumes. sge_use_nfs
- When enabled, this Boolean allows the
sge
scheduler to access NFS volumes. use_nfs_home_dirs
- When enabled, this Boolean adds support for NFS home directories.
virt_use_nfs
- When enabled, this Boolean allows confident virtual guests to manage files on NFS volumes.
xen_use_nfs
- When enabled, this Boolean allows
Xen
to manage files on NFS volumes. git_cgi_use_nfs
- When enabled, this Boolean allows the Git Common Gateway Interface (CGI) to access NFS volumes.
tftp_use_nfs
- When enabled, this Boolean allows The Trivial File Transfer Protocol (TFTP) to read from NFS volumes for public file transfer services.
Note
Due to the continuous development of the SELinux policy, the list above might not contain all Booleans related to the service at all times. To list them, run the following command as root:
~]# semanage boolean -l | grep service_name