The “sestatus” command is used to display the current status of SELinux on a system. SELinux is a mandatory access control (MAC) system that provides an additional layer of security to Linux servers by enforcing MAC policies.
- About sestatus: SELinux status tool
- Comes From : policycoreutils-2.0.83
- Configuration Files:
- Path: /usr/sbin/sestatus
Examples:
1. To see the SELinux status
$ sestatus |
2. To see the current status of the booleans
$ sestatus -b |
3. To check the contexts of a files and processes listed in /etc/sestatus.conf file
$ sestatus -v |
4. To see the sestatus help
$ sestatus –help |