Skip to main content

SELinux: Notes

SELinux Logo - Source: https://en.wikipedia.org/wiki/File:SELinux_logo.svg

SELinux stands for Security-Enhanced Linux.

SELinux on github: https://github.com/SELinuxProject/selinux

sestatus : Get SELinux status
getenforce : get the current mode of SELinux
[tuyen@g73jh ~]$ sestatus
SELinux status:                 enabled
SELinuxfs mount:                /sys/fs/selinux
SELinux root directory:         /etc/selinux
Loaded policy name:             targeted
Current mode:                   enforcing
Mode from config file:          enforcing
Policy MLS status:              enabled
Policy deny_unknown status:     allowed
Memory protection checking:     actual (secure)
Max kernel policy version:      32
[tuyen@g73jh ~]$
[tuyen@g73jh ~]$ getenforce
Enforcing
[tuyen@g73jh ~]$

Popular posts from this blog

VMware Workstation: Backup inventory and preferences

Backup these two files in your profile.

Microsoft Azure Web App Service

Three steps to create a FREE web app on Microsoft Azure using Azure CLI .

tmux - Terminal Muliplexer

tmux is a terminal multiplexer: it enables a number of terminals to be created, accessed, and controlled from a single screen. tmux may be detached from a screen and continue running in the background, then later reattached.