Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
244461d466 |
@@ -39,7 +39,7 @@ if [ -z $(cat /etc/group | grep "${ssh_reject_group}:") ]; then
|
|||||||
exit;
|
exit;
|
||||||
fi;
|
fi;
|
||||||
ssh_allow_group="sshallow";
|
ssh_allow_group="sshallow";
|
||||||
ssh_forward_group="sshfoward";
|
ssh_forward_group="sshforward";
|
||||||
user_group_tpl="gpasswd -d %s %s\ngpasswd -a %s %s\n";
|
user_group_tpl="gpasswd -d %s %s\ngpasswd -a %s %s\n";
|
||||||
|
|
||||||
echo "--------------------->"
|
echo "--------------------->"
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ if [ -z $(cat /etc/group | grep "${ssh_reject_group}:") ]; then
|
|||||||
exit;
|
exit;
|
||||||
fi;
|
fi;
|
||||||
ssh_allow_group="sshallow";
|
ssh_allow_group="sshallow";
|
||||||
ssh_forward_group="sshfoward";
|
ssh_forward_group="sshforward";
|
||||||
user_group_tpl="gpasswd -d %s %s\ngpasswd -a %s %s\n";
|
user_group_tpl="gpasswd -d %s %s\ngpasswd -a %s %s\n";
|
||||||
|
|
||||||
echo "--------------------->"
|
echo "--------------------->"
|
||||||
|
|||||||
Reference in New Issue
Block a user