This commit is contained in:
2020-12-13 22:13:24 +01:00
parent 900332e758
commit 5373b6c84b
4 changed files with 12 additions and 3 deletions
+2
View File
@@ -39,6 +39,8 @@ adduser "$user"
sed -i "s/$user:\/bin\/ash/$user:\/bin\/bash/g" /etc/passwd
usermod -a -G www "$user"
# TODO limiting su to the admin group
yn="reset"
while [ "$yn" != "y" ] && [ "$yn" != "n" ]