sepolicy(8)

πŸ’– sepolicy β€” the SELinux Policy Inspection tool, bestie edition πŸ’–

ok so real talk, this is sepolicy(8) from the SELinux fam, and it's literally the group chat for your installed policy. ✨


πŸ¦‹ SYNOPSIS

sepolicy [-h] [-P policy_path ]
{booleans,communicate,generate,interface,manpage,network,transition}
OPTIONS

Arguments:

  • booleans β€” pokes the SELinux policy to get you a description of the booleans. see sepolicy-boolean(8) πŸ’…
  • communicate β€” asks the SELinux policy whether domains can talk to each other or not. see sepolicy-communicate(8) πŸ‘€
  • generate β€” cooks up an SELinux Policy module template for you. see sepolicy-generate(8) πŸŽ€
  • gui β€” launches the Graphical User Interface for SELinux Policy, but heads up, it needs the policycoreutils-gui package. see sepolicy-gui(8) ✨
  • interface β€” prints out SELinux Policy interface info. see sepolicy-interface(8) 🌸
  • manpage β€” generates SELinux man pages. see sepolicy-manpage(8) πŸ“–
  • network β€” queries SELinux policy network info. see sepolicy-network(8) 🌐
  • transition β€” asks the SELinux Policy how a source process domain can transition over to the target process domain. see sepolicy-transition(8) πŸ¦‹

🌈 DESCRIPTION

so sepolicy is a little tool set (a whole squad, honestly) that queries the SELinux policy you already have installed and then generates useful reports, man pages, or even brand new policy modules for you. no cap. πŸ’…

for the options and descriptions specific to each argument, go peek at that argument's own man page. each one is its own main character. πŸ‘‘


✨ OPTIONS ✨

  • -P, --policy β€” pick a different policy to analyze instead of the default. (the default is whatever policy is currently installed at /sys/fs/selinux/policy) πŸ’–
  • -h, --help β€” shows you the help message. when in doubt, bestie, ask for help. πŸ™ˆ

πŸ‘‘ AUTHOR

this man page was written by Daniel Walsh <dwalsh@redhat.com> 🫢


πŸŽ€ SEE ALSO

selinux(8), sepolicy-booleans(8), sepolicy-communicate(8), sepolicy-generate(8), sepolicy-gui(8), sepolicy-interface(8), sepolicy-network(8), sepolicy-manpage(8), sepolicy-transition(8) πŸ’œ


ok and for the little sign-off moment: this page is from version 20121005, and it's the sepolicy(8) manual page itself, so like, you're reading the source of truth rn. periodt. πŸ’…πŸŒΈπŸ’–

πŸ“¦ where this page comes from