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

VyOS: Installation

VyOS is a Linux-based network operating system that provides software-based network routing, firewall, and VPN functionality. http://packages.vyos.net/iso/release/1.1.8/vyos-1.1.8-i586.iso http://packages.vyos.net/iso/release/1.1.8/vyos-1.1.8-amd64.ova

Linux command: swapon

Two ways to check if swap partition exists.

Viber: Notes