Getting More Information
SELinux is complex. You can obtain information about different policies more easily by
installing the selinux-policy-doc
package and then navigating the associated
manual pages.
- Install the package:
sudo dnf install -y selinux-policy-doc
- Update the manual page database:
sudo mandb
- Start searching through the new SELinux policy manual pages. To get a complete listing of
all the SELinux manual documentation, run:
man -k _selinux
The policy documentation contains information about users and roles. For example, you can
read more about the SELinux unprivileged user_u
user and the
user_r
role in the user_selinux(8)
manual page. The policy
documentation outlines the restrictions applied for different security contexts and what
Boolean options are available to you to customize the policy for an environment.