Which statement is true regarding the password-recovery process?
A.
You must have a console connection.
B.
You cannot set the console port to an insecure mode.
C.
You must press the Enter key so that you can boot into single-user mode.
D.
When prompted to enter the full pathname of the shell, you must press the Enter key.
Explanation:
Password Recovery Steps
The following steps list the process for recovering the root password.
1. Obtain console access and reboot the system. Watch as the system boots, and press the Spacebar when prompted
during the boot loader process. When the system presents a loader> prompt or an OK prompt, enter boot -s to
boot into single-user mode:
…TRIMMED…
Hit [Enter] to boot immediately, or space bar for command prompt.
Type ‘?’ for a list of commands, ‘help’ for more detailed help.
loader> boot -s
2. The system performs a single-user boot-up process and prompts you to run the recovery script, enter a shell
pathname, or press Enter for a default shell. Enter recovery at this point.
…TRIMMED…
Enter full pathname of shell or ‘recovery’ for root password recovery or RETURN for /
bin/sh: recovery
3. After a series of messages, the CLI starts and you are presented with an operational mode command prompt. At
this point, you can enter configuration mode and reset the root password. Remember to commit your configuration.
…TRIMMED…
Starting CLI …
root> configure
Entering configuration mode
JNCIA-Junos Study Guide—Part 1
© 2012 Juniper Networks, Inc. All rights reserved. Operational Monitoring and Maintenance • Chapter 5–11
[edit]
root# set system root-authentication plain-text-password
New password:
Retype new password:
[edit]
root# commit
commit complete
4. To complete the recovery, exit configuration mode. You are then prompted to reboot the system. Choose y (yes) to
reboot the system. Once the reboot is complete, you can log in with the new root password.
[edit]
root# exit
Exiting configuration mode
root> exit
Reboot the system? [y/n] y
https://learningportal.juniper.net/juniper/user_fasttrack_study.aspx?track=Fast+Track+JNCIA-JUNOS
JNCIA-Junos Study Guide—Part 1
Page 83/100