NAME
admin_users.pl - add / modify / etc users
SYNOPSIS
admin_user.pl -c add -u jimbob -p "jimspassword"
admin_user.pl -c add -u jimbob -p "jimspassword" -r "admin"
admin_user.pl -c modify -u jimbob -p "jimsnewpassword"
admin_user.pl -c modify -u jimbob -r "admin"
admin_user.pl -c modify -u jimbob -t "mytradition"
admin_user.pl -c list -u jimbob
admin_user.pl -c delete -u jimbob
OPTIONS
- -c | --command
-
The action to take, can be one of: add, modify, deactivate, reactivate, delete, list.
- add
-
Create a new user and store it in the Directory
- modify
-
Change an existing stored user, with a -p this will change the user's password, with a -t will add or remove the named tradition from the user.
- list
-
List the given user's traditions.
- deactivate
-
Deactivate this user.
- reactivate
-
Re-activate this user.
- delete
-
Delete the user permanently.
- -u | --username
-
The username of the new user or user to change.
- -p | --password
-
The new password or password to change.
- -t | --tradition
-
A Text::Tradition id or name which will be assigned to the user given.
- -r | --role
-
A rolename to add or modify, this is a plain text string to check it carefully. Use
modify
to change if necessary.