added admin group and limited su to it

This commit is contained in:
2019-04-20 17:32:34 +02:00
parent 239cba9820
commit dac5ea6435
2 changed files with 14 additions and 6 deletions
+4
View File
@@ -31,4 +31,8 @@ rc-service crond start && rc-update add crond
git config --global core.safecrlf false
echo "limiting su to the admin group"
groupadd admin
echo -e "auth required pam_wheel.so group=admin" >> /etc/pam.d/su
echo -e "Misc done"