sestatus(8)
π sestatus(8) β the SELinux status tool, bestie edition
okay so you're here because you wanna know what's going on with SELinux on your box, and sestatus is literally the girl for the job. she's part of the SELinux command line documentation family. let's get into it π
β¨ NAME β¨
sestatus β SELinux status tool
π SYNOPSIS π
sestatus [-v] [-b]
This tool is used to get the status of a system running SELinux.
π¦ DESCRIPTION π¦
This manual page describes the sestatus program. (yes bestie, a man page describing a program, we love a self-aware queen π)
So what does it actually do? This tool is used to get the status of a system running SELinux. It displays data about whether SELinux is enabled or disabled, the location of key directories, and the loaded policy with its status β as shown in the example:
> sestatus
SELinux status: enabled
SELinuxfs mount: /selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: permissive
Mode from config file: enforcing
Policy MLS status: enabled
Policy deny_unknown status: allow
Memory protection checking: actual (secure)
Max kernel policy version: 26
look at that output. stunning. no notes. β¨
sestatus can also be used to display:
- The security context of files and processes listed in the
/etc/sestatus.conffile. The format of this file is described insestatus.conf(5). - The status of booleans.
πΈ OPTIONS πΈ
-vβ Displays the contexts of files and processes listed in the/etc/sestatus.conffile. It also checks whether the file is a symbolic link, and if so, then the context of the target file is also shown. π«Ά
The following contexts will always be displayed:
- The current process context
- The init process context
- The controlling terminal file context
-bβ Display the current state of booleans. π
π FILES π
/etc/sestatus.conf
π AUTHOR π
This man page was written by Daniel Walsh <dwalsh@redhat.com>. The program was written by Chris PeBenito <pebenito@gentoo.org>
(iconic duo behaviour, honestly πβ¨)
β SEE ALSO β
fr fr, if you're ever confused about why something got denied, run sestatus first. vibe check your SELinux before you start blaming everyone else π
okay that's the whole page, hope it ate π
this one's from the Security Enhanced Linux crew, dated 26 Nov 2011, and it's sestatus(8) β mwah, periodt ππΈ
π¦ where this page comes from
- centos-stream 10: policycoreutils 3.11-1.el10 Β· GPL-2.0-or-later
- centos-stream 9: policycoreutils 3.6-9.el9 Β· GPL-2.0-or-later
- debian bookworm: policycoreutils 3.4-1
- debian trixie: policycoreutils 3.8.1-2
- fedora 43: policycoreutils 3.9-5.fc43 Β· GPL-2.0-or-later
- fedora 43: policycoreutils 3.9-7.fc43 Β· GPL-2.0-or-later
- fedora 44: policycoreutils 3.10-1.fc44 Β· GPL-2.0-or-later
- fedora 44: policycoreutils 3.11-2.fc44 Β· GPL-2.0-or-later
- nixos 26.05: policycoreutils 3.11
- nixpkgs unstable: policycoreutils 3.11
- opensuse-leap 16.0: policycoreutils 3.8.1-160000.5.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: policycoreutils 3.8.1-160000.5.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: policycoreutils 3.8.1-160000.5.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: policycoreutils 3.8.1-160000.5.1 Β· GPL-2.0-or-later
- ubuntu jammy: policycoreutils 3.3-1build1
- ubuntu noble: policycoreutils 3.5-2
- ubuntu questing: policycoreutils 3.8.1-1
- ubuntu resolute: policycoreutils 3.9-2
- ubuntu stonking: policycoreutils 3.11-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms