From ea5b9688c4cd31d13ee79fd83d2f2be7dac06324 Mon Sep 17 00:00:00 2001 From: Eliezer Croitoru Date: Mon, 26 Aug 2024 12:34:31 +0300 Subject: [PATCH] 2 --- disable-selinux.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 disable-selinux.sh diff --git a/disable-selinux.sh b/disable-selinux.sh new file mode 100755 index 0000000..625304b --- /dev/null +++ b/disable-selinux.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +setenforce 0 +sed -i -e "s@^SELINUX=.*@SELINUX=disabled@g" /etc/selinux/config