Compare commits

...

1 Commits

Author SHA1 Message Date
Clemens Schwaighofer
eb194c2f1c The check last login loop for listing ssh reject users was wrong
The inside variable user "username" instead of "user"
2023-08-02 09:51:10 +09:00

View File

@@ -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 "--------------------->"