2024-11-12 17:06:52 +01:00
|
|
|
# autouser
|
|
|
|
|
2024-11-12 17:11:26 +01:00
|
|
|
Small shell script made for automatically creating and deleting a large amount of Linux users or groups.
|
|
|
|
|
2024-11-12 17:12:57 +01:00
|
|
|
## Usage
|
2024-11-12 17:11:26 +01:00
|
|
|
```
|
|
|
|
./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)
|
|
|
|
```
|