RHEL7: How to deploy SELinux man pages.

Share this link

By default, a lot of SELinux man pages are not available.
To get them, follow these steps.

Install the selinux-policy-devel package:

# yum install -y selinux-policy-devel

Note: I find the selinux-policy-devel package name easier to remember than the policycoreutils-devel name but both give the same result.

Update the man pages database:

# mandb

Display the list of the new available SELinux man pages:

# apropos _selinux

Source: Sander van Vugt’s SELinux SELinux video (15min).

1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5.00 out of 5)
Loading...

Leave a Reply

3 Comments on "RHEL7: How to deploy SELinux man pages."

Notify of
Sort by:   newest | oldest
jacques
Member
jacques

Just a little comment, you can skip this “sepolicy manpage” command, just run the mandb after the yum install and it is done.

PickledEggs
Member
PickledEggs

It doesn’t seem to work for me, if I don’t run the sepolicy manpage command after installing mandb doesn’t add the manpages. At least not on: Linux myserver1 3.10.0-514.6.1.el7.x86_64 #1 SMP Wed Jan 18 13:06:36 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

wpDiscuz

Upcoming Events (CET)

There are no events.

RHCSA7: Task of the day

Allowed time: 5 minutes.
Create a user account named "tony" with password “redhat” and belonging to a secondary group called “team”.

RHCE7: Task of the day

Allowed time: 10 minutes.
Configure a system to forward all email to a central mail server at 192.168.1.1 (change the IP address accordingly).

Poll for favorite RHEL 7 book

What is your favorite RHEL 7 book to prepare RHCSA & RHCE exams?

View Results

Loading ... Loading ...

Poll for most difficult RHCSA 7 topic

What do you think is the most difficult RHCSA 7 topic?

View Results

Loading ... Loading ...

Poll for most difficult RHCE 7 topic

What do you think is the most difficult RHCE 7 topic?

View Results

Loading ... Loading ...