getenforce(8)

✨ getenforce β€” bestie check on ur SELinux vibe ✨

okay so real talk, this is a page from the SELinux Command Line documentation (that's the getenforce(8) manual, section 8, system admin girlies only πŸ’…) and it is genuinely the shortest glow-up of a command you will ever meet.


🌸 NAME 🌸

getenforce β€” get the current mode of SELinux

like... that's it. that's the whole job. she tells u what mode SELinux is in. main character energy, minimal effort 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

getenforce

no flags. no arguments. no options. nothing. u just type her name and she answers. it's giving "i don't do small talk, i do answers" ⭐


πŸ’– DESCRIPTION πŸ’–

getenforce reports whether SELinux is enforcing, permissive, or disabled.

that's the tea β˜• three possible moods and she will tell u exactly which one u got:

  • enforcing β€” SELinux is locked in and actually blocking stuff. no cap.
  • permissive β€” SELinux sees everything, logs everything, stops nothing. she's watching but she's not intervening πŸ™ˆ
  • disabled β€” SELinux is not on. asleep. napping. not invited to the party πŸ’€

one command, one answer, zero drama. iconic. periodt.


πŸ‘‘ AUTHOR πŸ‘‘

Dan Walsh, <dwalsh@redhat.com> β€” the legend who wrote this. say thank u 🫢


🌈 SEE ALSO 🌈

iykyk β€” getenforce is the read, setenforce is the write, and they're besties fr fr πŸ’œ


and that's the whole page bestie!! this little icon was brought to u by dwalsh@redhat.com, dated 7 April 2004 (yes she's been slaying since 2004, longevity queen πŸŽ€), and she's still out here answering the same one question with the same one word. obsessed. bye!! βœ¨πŸ¦‹πŸŒΈ