Rename script names, add lock script

Add a user lock script to move users from ssh allow/foward group to ssh
reject group.

Rename user_create.sh script to create_user.sh script and add new ssh
allow/foward flag in user_list.txt file after group block and before
password name block

Update check last login script with better add/remove from groups
This commit is contained in:
Clemens Schwaighofer
2022-12-01 18:22:46 +09:00
parent fe08fa10c2
commit ebddac7f67
5 changed files with 113 additions and 14 deletions

View File

@@ -98,7 +98,7 @@ The current directory **MUST** be the directory where '*user_list.txt*' is store
Then run the script without any options
`$> /root/bin/user_create.sh`
`$> /root/bin/create_user.sh`
Sample output for above example file