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

Wireguard VPN: Notes

Notes while trying Wireguard VPN on some of my testbeds.

Install Microsoft .NET Core SDK

.NET Core Software Development Kit (SDK) is a set of libraries and tools that allow developers to create .NET Core applications and libraries.

Docker for Windows: Access Denied

Today, I get this error when running Docker for Windows on Windows 10 Build 1803. So, I check my current username (run whoami ) and add that user to docker-users local group, which has only NT AUTHORITY\SYSTEM account in members list. I must log out and log in again to run Docker for Windows.