From 56396c1fa8b707ce15a3f9afe7071fb5a60f9fdc Mon Sep 17 00:00:00 2001 From: simono41 Date: Mon, 5 Aug 2019 13:50:53 +0200 Subject: [PATCH] server_optimize --- server_optimize.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/server_optimize.sh b/server_optimize.sh index 9b4ab16..47f5c65 100755 --- a/server_optimize.sh +++ b/server_optimize.sh @@ -20,9 +20,6 @@ if [[ $EUID -ne 0 ]]; then else echo "Als ROOT angemeldet!!!" fi -echo "Als root Angemeldet" - -sleep 5 function makesshsecure() { @@ -67,7 +64,7 @@ function makeuser() { groupadd wheel fi echo "root ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers - echo "%wheel ALL=(ALL)" >> /etc/sudoers + echo "%wheel ALL=(ALL) ALL" >> /etc/sudoers adduser user1 adduser user1 wheel }