sepolicy-booleans(8)

πŸ“¦
version 3.11 Β· 2 versions
, in centos-stream 10, centos-stream 9, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– sepolicy-booleans β€” the girlies' guide to SELinux booleans πŸ’–

okay bestie, welcome to sepolicy-booleans(8) πŸŽ€ this is the page you pull up when you need the tea on your SELinux booleans, and honestly? it's giving helpful. let's get into it ✨


🌸 NAME 🌸

sepolicy-booleans β€” query SELinux Policy to see the description of booleans πŸ‘‘


✨ SYNOPSIS ✨

sepolicy booleans [-h] [ -a | -b booleanname ... ]

lowkey the whole vibe is right there in one line. -a OR -b with names, and -h if you're lost πŸ¦‹


πŸ’œ DESCRIPTION πŸ’œ

sepolicy booleans will show all the booleans and their descriptions, or you can pick individual booleans to display if you're feeling selective πŸ’…

⚠️ okay important one, no cap: please make sure that selinux-policy-devel is present on your system, because that's the package that has the boolean descriptions extracted from the policy source code. without it, sepolicy booleans will only show descriptions generated based on the boolean names. so like, you'll still get output, but it's the budget version 😭

πŸŽ€ OPTIONS πŸŽ€

  • -h, --help β€” display the help message, aka the "bestie I'm confused" button 🫢
  • -a, --all β€” display all boolean descriptions. the full collection. the whole wardrobe πŸ”₯
  • -b, --boolean β€” boolean to get description. hand it a name (or several, she's flexible ✨)

🌈 EXAMPLE 🌈

list descriptions of samba_create_home_dirs and samba_enable_home_dirs booleans:

# sepolicy booleans -b samba_create_home_dirs samba_enable_home_dirs

see how we just stacked two names after -b? iconic behaviour fr fr πŸ’–


πŸ‘‘ AUTHOR πŸ‘‘

this man page was written by Daniel Walsh <dwalsh@redhat.com> β€” shoutout to the author, absolute legend πŸ«‘πŸ’œ


πŸ¦‹ SEE ALSO πŸ¦‹

go read those next, they're the rest of the friend group 🌸


okay that's the whole page bestie, go forth and boolean responsibly ✨ this cutie was dated 20121112 and it lives in section 8 of the sepolicy-booleans manual β€” mwah πŸ’…πŸ’–

πŸ“¦ where this page comes from