Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b10cb62612 |
@@ -100,9 +100,8 @@ for username in "$@"; do
|
||||
if [ ${TEST} -eq 1 ]; then
|
||||
printf "${user_group_tpl}" "${username}" "${ssh_reject_group}" "${username}" "${ssh_add_group}";
|
||||
else
|
||||
#gpasswd -d "${username}" "${ssh_reject_group}";
|
||||
#gpasswd -a "${username}" "${ssh_add_group}";
|
||||
echo "NOOP";
|
||||
gpasswd -d "${username}" "${ssh_reject_group}";
|
||||
gpasswd -a "${username}" "${ssh_add_group}";
|
||||
fi;
|
||||
else
|
||||
# skip not ssh user
|
||||
|
||||
Reference in New Issue
Block a user