Unable to log into UAG Admin Interface

If you’re unable to log into a UAG admin UI or through the CLI, follow the steps to reset the account.

If you can’t log into the root account in CLI:

  1. Open the UAG console and restart the VM
  2. When the Photon OS screen shows up, press the ‘E’ key
  3. In the GRUB interface, make the following change:
    Remove everything after “$rootpartition” and add “rw init=/bin/bash”
    Press F10 to boot the server
  4. Run the following command in the CLI:
    pam_tally2 –user root
    *this will show if there are login failure for the root account
    pam_tally2 –user root –reset
    *This will unlock the root account
    passwd
    *This command will reset the root password
    pam_tally2 –user root
    *Run this command again to confirm there are no more failures
    reboot -f

If you can’t log into the admin UI:

  1. Open the UAG console
  2. Log in as root
  3. Run the command adminpwd
  4. Enter the new password for the admin account

Leave a Reply