diff --git a/bin/lock_user.sh b/bin/lock_user.sh index dff7cf0..1dbce24 100755 --- a/bin/lock_user.sh +++ b/bin/lock_user.sh @@ -39,7 +39,7 @@ if [ -z $(cat /etc/group | grep "${ssh_reject_group}:") ]; then exit; fi; ssh_allow_group="sshallow"; -ssh_forward_group="sshfoward"; +ssh_forward_group="sshforward"; user_group_tpl="gpasswd -d %s %s\ngpasswd -a %s %s\n"; echo "--------------------->" diff --git a/bin/unlock_user.sh b/bin/unlock_user.sh index 5a1082b..bcc9777 100755 --- a/bin/unlock_user.sh +++ b/bin/unlock_user.sh @@ -53,7 +53,7 @@ if [ -z $(cat /etc/group | grep "${ssh_reject_group}:") ]; then exit; fi; ssh_allow_group="sshallow"; -ssh_forward_group="sshfoward"; +ssh_forward_group="sshforward"; user_group_tpl="gpasswd -d %s %s\ngpasswd -a %s %s\n"; echo "--------------------->"