diskimage-builder/elements/selinux-permissive/install.d/11-selinux-permissive
Steve Baker 3bf171b2b5 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
2013-05-14 11:56:28 +12:00

6 lines
111 B
Bash
Executable File

#!/bin/sh
echo "SELINUX=permissive" > /etc/selinux/config
echo "SELINUXTYPE=targeted" >> /etc/selinux/config