JN0-102 · Question #86
Which two commands are used during the password recovery process? (Choose two.)
The correct answer is B. boot -s C. recovery. During the Junos password recovery process, the device is booted into single-user mode using boot -s, and then the recovery command is used to reset the password.
Question
Which two commands are used during the password recovery process? (Choose two.)
Options
- Aclear system login
- Bboot -s
- Crecovery
- Ddelete system root-authentication
How the community answered
(41 responses)- A5% (2)
- B88% (36)
- D7% (3)
Why each option
During the Junos password recovery process, the device is booted into single-user mode using `boot -s`, and then the `recovery` command is used to reset the password.
`clear system login` is not a standard or documented command for Junos password recovery.
The `boot -s` command is used at the boot loader prompt to boot the Junos device into single-user mode, a critical step for gaining root access without authentication during password recovery.
After booting into single-user mode, the `recovery` command is then issued from the Junos shell prompt to revert the root password to its factory default or a known state, allowing administrative access.
`delete system root-authentication` is a configuration command that requires authentication and cannot be used to recover a forgotten password.
Concept tested: Junos password recovery procedure
Source: https://www.juniper.net/documentation/us/en/software/junos/junos-os-security/topics/task/password-recovering-root-pass.html
Topics
Community Discussion
No community discussion yet for this question.