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