Demo entry 6783505

user

   

Submitted by anonymous on Feb 14, 2019 at 12:58
Language: Bash. Code size: 173 Bytes.

[ `sestatus -v|head -n 1|awk '{print $3}'` = "enabled" ] && {  
        setenforce 0;  
        sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config;  
}  

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).