bootstrap-rocky-9/disable-selinux.sh

5 lines
99 B
Bash
Raw Normal View History

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