From ba1e85cdbc8707bbb24fbbe8dc951a8d7d68d720 Mon Sep 17 00:00:00 2001 From: David Rotermund Date: Fri, 12 Apr 2024 02:36:38 +0200 Subject: [PATCH] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 80e729a..6761b41 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,13 @@ echo ansibleuser:$passwd_value | chpasswd echo "ansibleuser ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/ansible ``` +## Beware of SELinux + +cat /etc/selinux/config | sed s/"$SELINUX=enforcing"/"SELINUX=disabled"/g > /etc/selinux/config_xxx +\cp /etc/selinux/config_xxx /etc/selinux/config +\rm /etc/selinux/config_xxx +reboot + # How to make the server ready Once: