Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[Junos Space] Resetting Admin password using a USB stick



Article ID: KB16905 KB Last Updated: 11 Sep 2018Version: 9.0

By default, the Admin account is used to access the Command Line Interface (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.



Note: Try KB30506 - How to reset the CLI admin password on a Junos Space first where a USB stick is not required.

This article details a backup or alternate method.

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 documentation on Junos Space installation.

  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.

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

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

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

  1. Change root to the normal disk instead of the USB image:

chroot /mnt/sysimage
  1. Change the password by using the normal password change command:

passwd admin


Modification History:

2018-09-11: Added a note to the Solution section about KB30506 - How to reset the CLI admin password on a Junos Space and mentioned that this article suggests a backup or alternate method; other minor (non-technical) formatting changes made


Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search