diff --git a/bin/check_last_login.sh b/bin/check_last_login.sh index 6581207..ade5e32 100755 --- a/bin/check_last_login.sh +++ b/bin/check_last_login.sh @@ -122,7 +122,7 @@ done; echo "--------------------->" echo "Showing current SSH Reject users:" for user in $(cat /etc/group|grep "${ssh_reject_group}:" | cut -d ":" -f 4 | sed -e 's/,/ /g'); do - echo "${username}"; + echo "${user}"; done; if [ ! -z "${delete_accounts}" ]; then echo "--------------------->"