From b10cb626129c3dc980dbe9a66b4c0d6a5763fabe Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Fri, 2 Dec 2022 09:28:09 +0900 Subject: [PATCH] Fix unlock script with debug comment out code --- bin/unlock_user.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/unlock_user.sh b/bin/unlock_user.sh index 42405fa..ab43124 100755 --- a/bin/unlock_user.sh +++ b/bin/unlock_user.sh @@ -100,9 +100,8 @@ for username in "$@"; do if [ ${TEST} -eq 1 ]; then printf "${user_group_tpl}" "${username}" "${ssh_reject_group}" "${username}" "${ssh_add_group}"; else - #gpasswd -d "${username}" "${ssh_reject_group}"; - #gpasswd -a "${username}" "${ssh_add_group}"; - echo "NOOP"; + gpasswd -d "${username}" "${ssh_reject_group}"; + gpasswd -a "${username}" "${ssh_add_group}"; fi; else # skip not ssh user