Managing users from CLI

You can use the apsysusermgmt command to add, delete, and modify system users.

About this task

For a complete list of command options, see apsysusermgmt command.

Procedure

  • To add a new user, run the following command:
    apsysusermgmt add-user [-h] [-g Admin|User] [-p password] [-d displayname] [-e email] username
    Note: Only the following special characters are allowed in passwords: !@#$%^&*(),.<>[]-=+?
    Examples:
    • apsysusermgmt add-user testuser -d "Test" -g Admin -e testadminuser@abc.com
    • apsysusermgmt add-user testuser -d "Test" -g User -e testuser@abc.com
  • To modify a user, run the following command:
    apsysusermgmt modify-user [-h] [-g Admin|User] [-p newpassword][-d displayname] [-e email] username
    Examples of modifying a user role:
    • apsysusermgmt modify-user testuser -g User
    • apsysusermgmt modify-user testadminuser -g Admin
    You can verify the settings for a specific user by running:
    apsysusermgmt info-user [-h] username
  • To delete a user, run the following command:
    apsysusermgmt delete-user [-h] username