Update rtinst.sh

This commit is contained in:
arakasi72
2014-10-07 18:37:55 +01:00
parent e3b609daa6
commit 8e4e89c8b9
+1 -1
View File
@@ -208,7 +208,7 @@ if ! [ -z "$allowlist" ]
fi
echo "AllowGroups sudo sshuser" | tee -a /etc/ssh/sshd_config > /dev/null
if [ -z $(groups $user | grep "sshuser") ]; then
if [ -z "$(groups $user | grep sshuser)" ]; then
adduser $user sshuser
fi