Skip to content

Instantly share code, notes, and snippets.

@miticojo
Last active May 15, 2017 04:55
Show Gist options
  • Save miticojo/54f7c2b6c6e0e6e3b41b13065a7fa815 to your computer and use it in GitHub Desktop.
Save miticojo/54f7c2b6c6e0e6e3b41b13065a7fa815 to your computer and use it in GitHub Desktop.
Selinux man pages for all services
#!/bin/sh
sudo yum install -y selinux-policy-devel
sudo sepolicy manpage -a -p /usr/share/man/man0
sudo mandb -c
echo "now you can look for selinux pages running 'man -k _selinux'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment