Friday, June 26, 2020

Enable/Disable/status selinux

To get current status

#getenforce

To set temporarily
#set enforce 0/1

To set permanently.

edit /etc/sysconfig/selinux change SELINUX=enforcing to SELINUX=disabled

No comments:

Post a Comment