How To disable SELinux with sed

By ListerUK

September 23, 2020 17:11


RHEL ( CentOS ) 6, 7, 8

sed -i --follow-symlinks 's/^SELINUX=.*/SELINUX=disabled/g' /etc/sysconfig/selinux && cat /etc/sysconfig/selinux


Comments are disabled
Comments are disabled for this Blog Post
Search
Tips

Follow blog section for recent announcements