bootstrap-rocky-9/disable-selinux.sh

5 lines
99 B
Bash
Executable File

#!/usr/bin/env bash
setenforce 0
sed -i -e "s@^SELINUX=.*@SELINUX=disabled@g" /etc/selinux/config