Reset GUI Admin Password

If you've lost the GUi admin password, you can reset it from the terminal.

If you reset (a lost) GUI admin password to the default, we highly recommend that you immediately change it to a secure one. User admin has full root access. Juniper is not responsible for security-related incidents because of not changing default passwords.

To reset the GUI admin password:

  1. SSH into the server as user admin (ssh admin@<server-ip> where <server-ip> is the IP address of the server.)
  2. Run the command aos_reset_admin_password as shown in the example below.
  3. Log in to the GUI (default password: admin), navigate to Platform > User Management > Users, then click the Change password button in the Actions panel for admin.
    User management interface in HPE Apstra showing a sidebar menu with Platform and User Management selected, a table listing user admin with role administrator and status Active, and a Create User button.
    The Change Password dialog opens.
  4. Enter a secure password that meets the complexity requirements, then re-enter the new password.
  5. Click Change Password.
The password is updated and you're returned to the Users page.