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.

Prerequisites

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.

Procedure

  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 of the administrator.

    adminpwd

    Note: If non-root administrator is configured for Unified Access Gateway OS login, run the command with sudo. For example, sudo adminpwd.

    New password for user "admin": ********

    Retype new password: ********

    In this example, the password is at least 8 characters long, contains at least one uppercase and one lowercase letter, one digit, and one special character, which includes ! @ # $ % * ( ) characters.
    The following message is displayed.

    adminpwd: password for "admin" updated successfully

  3. Enter the following commands to reset the password of an administrator with less privileges.

    adminpwd [-u <username>]

    New password for user "jdoe": ********

    Retype new password: ********

    The admin password must be at least 8 characters long, contains at least one uppercase and one lowercase letter, one digit, and one special character, which includes ! @ # $ % * ( ) characters.
    The following message is displayed.

    adminpwd: password for "jdoe" updated successfully

Results

The admin user password is reset 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 asked 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.