If the admin user password is forgotten, the user can login to the Unified Access Gateway console using the root user credentials and reset the Admin UI password.


You must have the password for logging in to the virtual machine as the root user or a user with root privileges. The user must be a part of the root group. For more information on root password see, Troubleshooting Root Login Issues.


  1. Log in to the operating system of the Unified Access Gateway console as the root user.
  2. Enter the following commands to reset the password.
    adminpwd [-e <true/false>] [-u <username>] 
    • [-e <true/false>] pre-expire flag used to reset the password. If -e is not specified, the pre-expired password is set to true by default.
      Note: While logging in for the first time, the admin is prompted to change the password. If you do not want to be prompted for changing the password, set the pre-expire password flag to false.
    • [-u <username>] resets the password of the specified admin user or low privilege user. If -u is not specified , the default user is "admin".
    Note: If non-root administrator is configured for Unified Access Gateway OS login, run the command with sudo. For example, sudo adminpwd.

    Passwords must be at least 8 characters long, contain at least one uppercase and one lowercase letter, one digit, and one special character, which includes ! @ # $ % ^ & * ( ) characters.

    New password for user "admin": ********  
    Retype new password: ******** 
    The following message is displayed.
    adminpwd: password for "admin" updated successfully

What to do next

User can now log in to the Unified Access Gateway interface using the administrator password that is recently set. User is prompted to change the password while logging in for the first time after password reset using the adminpwd CLI command.
Note: User must log in on first attempt after changing the password.