December 2018
Beginner
320 pages
8h 57m
English
We can change the SELinux modes from enforcing to permissive and vice versa during runtime by using the setenforce command. Before and after changing the SELinux mode, we must ensure the current mode by using the getenforce command.
The following are examples that illustrate the usage of the setenforce and getenforce commands:
# getenforce
# setenforce 0or# setenforce Permissive
# setenforce 1or # setenforce Enforcing
Read now
Unlock full access