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.
- Log in to the operating system of the Unified Access Gateway console as the root user.
- 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
-eis not specified, the pre-expired password is set to
trueby 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
Note: If non-root administrator is configured for Unified Access Gateway OS login, run the command with sudo. For example,
[-u <username>]resets the password of the specified admin user or low privilege user. If
-uis not specified , the default user is "admin".
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.