From 244461d46644a723216c6638e8c1ddfd0098c4ad Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Thu, 21 Dec 2023 16:11:31 +0900 Subject: [PATCH] sshforward group typo in lock and unlock users --- bin/lock_user.sh | 2 +- bin/unlock_user.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 "--------------------->"