From 3df7a70498f4b90b5b3c1f163d3df5f1c8ccc8d0 Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Wed, 3 Jul 2019 16:33:28 +0200 Subject: [PATCH] fixed typo in user --- bin/user.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/user.sh b/bin/user.sh index 5215385..7679f47 100755 --- a/bin/user.sh +++ b/bin/user.sh @@ -40,7 +40,7 @@ adduser "$user" sed -i "s/$user:\/bin\/ash/$user:\/bin\/bash/g" /etc/passwd # TODO limiting su to the admin group -whie [ "$vh" != "y" ] && [ "$vh" != "n" ]; +while [ "$vh" != "y" ] && [ "$vh" != "n" ] do echo -n "Should we allow $user to su? [y|n] " read yn