RHCSA-7: EX-200: Set enforcing and permissive modes for SELinux.

By | October 9, 2018

To check current status of selinx


To change status at run time ( will not survive over reboot )

#setenforce enforcing
#setenforce 1

To change the selinux mode permantly

# vi /etc/selinux/config

Share This Post

Leave a Reply

Your email address will not be published. Required fields are marked *