An element for putting SELinux in permissive mode
This is useful for selinux debugging, so is most useful in its own optional element. Change-Id: I83532242eacbe211d3bb13e00436f682ca6d7e76
This commit is contained in:
parent
6b44b6d274
commit
3bf171b2b5
4
elements/selinux-permissive/README.md
Normal file
4
elements/selinux-permissive/README.md
Normal 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.
|
5
elements/selinux-permissive/install.d/11-selinux-permissive
Executable file
5
elements/selinux-permissive/install.d/11-selinux-permissive
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
echo "SELINUX=permissive" > /etc/selinux/config
|
||||||
|
echo "SELINUXTYPE=targeted" >> /etc/selinux/config
|
||||||
|
|
Loading…
Reference in New Issue
Block a user