Recover the admin password from the root account

If you lose access to the SLX-OS admin account but you have access to the root account for the device, you can recover the password.

Perform the following steps to reset the admin password from the root account.
  1. Open a session to access the device.
  2. Log in as root.
  3. Start the SLX-OS CLI.
    [root@device]# slxcli
    device#
  4. Access global configuration mode.
    device# configure terminal
  5. Reset the admin password.
    device(config)# username admin password password
    In this example, the admin password is reset to the default value of password.
    You can now use the admin account to manage the admin and user passwords by using normal password-management procedures.