commands
sestatus — Inspect SELinux status
Report SELinux status, policy and current mode where supported. Output is environment-dependent. Use a fresh private workspace; do not apply to a real system.
Formal Syntax & Structure
linux syntaxlinux
sestatusReturn Value
exit status and output
Reports SELinux enablement and, where applicable, policy and current mode. Successful reporting does not establish that a particular access decision is allowed or denied.
Working Example
Example Snippetlinux
sestatus