Knowledge Search


×
 

[Junos Space] Resetting Admin password using a USB stick

  [KB16905] Show Article Properties


Summary:

By default, the Admin account is used to access the CLI of the appliance. When the password is forgotten, the old password must be cleared and a new password must be defined. This article describes how to clear the old password and define a new one.

Solution:

When the appliance is initialized, the default login account is Admin and the password is abc123.

  1. Prepare a USB for booting an appliance by consulting the Junos Space installation procedure.
  2. Connect a console device to the console port of the Junos Space appliance, and then plug the USB installation drive into the USB port.
  3. Physically power off the Junos Space appliance.
  4. Power the Junos Space appliance back on.
  5. At the boot prompt, type rescue-serial and press Enter:

  6. The system boots up from the USB and loads all the required drivers. After the drivers are loaded, the system will bring up a second window that lists the languages. Select English and press Enter.

  7. You are now prompted to set up networking. Since you are only resetting the password, you do not need to enable networking. Select the Tab key to highlight NO, and then press Enter.

  8. Rescue will locate and mount the installation. Select Continue to proceed.

  9. After the distribution is found, Rescue will mount it to the /mnt/sysimage directory. Select OK to continue.



  10. Change root to the normal  disk instead of USB imag:

    chroot /mnt/sysimage

  11. Change password using normal password change command:

    passwd admin

Related Links: