Merge "An element for putting SELinux in permissive mode"

This commit is contained in:
Jenkins 2013-05-15 22:19:04 +00:00 committed by Gerrit Code Review
commit 958badb36f
2 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1,4 @@
Puts selinux into permissive mode by writing SELINUX=permissive
to /etc/selinux/config
Enable this element when debugging selinux issues.

View file

@ -0,0 +1,5 @@
#!/bin/sh
echo "SELINUX=permissive" > /etc/selinux/config
echo "SELINUXTYPE=targeted" >> /etc/selinux/config