Installing Policy Documentation

SELinux is complex, with many options for configuring access, using policies. You can obtain detailed information about the available policies from the manual pages that the selinux-policy-doc package provides. This task shows you how to access this information.

The policy documentation also 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 that apply for different security contexts and what Boolean options are available to customize the policy for an environment.

  1. Install the package:
    sudo dnf install -y selinux-policy-doc
  2. Update the manual page database:
    sudo mandb
  3. Browse the SELinux policy manual pages. To get a complete listing of all the SELinux manual documentation, run:
    man -k _selinux