"Users Manager 0.1" is a very simple Bash script.
It is based on "useradd", "userdel" and "newusers" utilities from "passwd" package (it is true for Debian-like Linux systems).
To create a text file for adding users from a multiuser list, follow to syntax of /etc/passwd (explained in man newusers):
username:password:userid:groupid:gecos:/home/username:/bin/sh
You can find more information in man pages of programs listed above.
username01:pasSwOrd:::New user:/home/user01:/bin/sh
username02:PaSSworD:::New user:/home/user02:/bin/bas
username03:paSsWoRd:::New user:/home/user03:/bin/ksh
username04:PASSword:::New user:/home/user04:/bin/csh
...
usernameXX:PaSswOrD::::/home/user07:/bin/zsh
username01
username02
...
usernameXX
-
Backup HOME_DIR before deleting users;
-
Abillity for choose what will be removed from system when deleting users: all user files, print jobs, cron jobs or/and at jobs;
-
Remove any SELinux user mappings for the user being deleted;
-
Apply changes in the CHROOT_DIR directory and use configuration files from the CHROOT_DIR directory.