You can use the apusermgmt command to add, delete, and modify
users.
About this task
For a complete list of command options, see apusermgmt command.
Procedure
-
To add a new user, run the following command:
apusermgmt add-user [-h] username [-g Admin|User] [-n namespace] [-p password] [-d displayname] [-e email]
Note: Only the following special characters are allowed in passwords:
!@#$%^&*(),.<>[]-=+?
- To modify a user, run the following
command:
apusermgmt modify-user [-h] username [-g Admin|User][-n namespace] [-r remove_namespace][-p newpassword][-d displayname]
Examples
of modifying a user role:
You can verify the settings for a specific user by running
apusermgmt info-user [-h] username
- To delete a user, run the following command:
apusermgmt delete-user username