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 }