My SELinux Notes
Jump to navigation
Jump to search
View & Modify enforcement level[edit | edit source]
View enforcement level
# getenforce Enforcing
Set enforcement to permissive at run time
# setenforce 0 # getenforce Permissive
Set enforcement to enforcing at run time
# setenforce 1 # getenforce Enforcing