raul 56041d3eb9 | ||
---|---|---|
LICENSE | ||
README.md | ||
autouser.sh | ||
groups.csv | ||
users.csv |
README.md
autouser
Small shell script made for automatically creating and deleting a large amount of Linux users or groups by making use of .csv files.
Usage
./autouser.sh $PARAMETER file.csv
PARAMETERS
--help || -h (Show this help prompt)
--dry-run (Test without executing any changes)
--create-users users.csv (Create users from a .csv file)
--create-groups groups.csv (Create groups from a .csv file)
--delete-users users.csv (Delete users from a .csv file)
--delete-groups groups.csv (Delete groups from a .csv file)
--create-user (Create user manually)
--create-group (Create group manually)
--delete-user (Delete user manually)
--delete-group (Delete group manually)