Update modules/ROOT/pages/_partials/con_permanent-changes-in-selinux-states-and-modes.adoc

This commit is contained in:
Mat McCabe 2022-03-04 01:00:55 +00:00 committed by copperi
parent 8769ebf804
commit 3c1cf0741c

View file

@ -4,7 +4,7 @@
[#{context}-changing-selinux-modes]
= Permanent changes in SELinux states and modes
:toc:
As discussed in link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/selinux_users_and_administrators_guide/chap-security-enhanced_linux-introduction[Introduction to SELinux], SELinux can be enabled or disabled. When enabled, SELinux has two modes: enforcing and permissive.
Use the [command]`getenforce` or [command]`sestatus` commands to check in which mode SELinux is running. The [command]`getenforce` command returns `Enforcing`, `Permissive`, or `Disabled`.