[Juniper] Password Recovery
Posted by a. Rahman Isnaini r. Sutan on March 6th, 2008
=======================
Juniper Config Manager [Here..]
=======================
Password Recovery Steps (mirip linux/BSD) :
- Console your Juniper
- Turn Off & Boot in single user mode.
- Please Press “Space” on keyboard to get in to boot choice…
Will try to boot from :
PCMCIA ATA Flash Card
Compact Flash
Primary IDE Hard Disk
Ethernet
Boot Sequence is reseted due to a PowerUp
Trying to Boot from PCMCIA ATA Flash Card
Trying to Boot from Compact Flash
>> FreeBSD/i386 BOOT
Default: 0:ad(0,a)/boot/loader
boot: -s
Hit [Enter] to boot immediately, or space bar for command prompt.
Booting [kernel] in 1 second…
Type ‘?’ for a list of commands, ‘help’ for more detailed help.
ok ?
Available commands:
reboot reboot the system
heap show heap usage
bcachestat get disk block cache stats
boot boot a file or loaded kernel
autoboot boot automatically after a delay
help detailed help
? list commands
show show variable(s)
set set a variable
unset unset a variable
more show contents of a file
nextboot set next boot device
include read commands from a file
ls list files
load load a kernel or module
unload unload all modules
lsmod list loaded modules
pnpscan scan for PnP devices
ok boot -s
[Type "-s" at "boot:" prompt]
The system goes to normal boot up process.
- On “pathname” prompt enter: /usr/libexec/ui/recovery-mode
System will run a script for password recovery
- Enter pathname of shell or RETURN for sh: /usr/libexec/ui/recovery-mode
- The system will finish booting up and you ‘ll be at a “root>” prompt
- Get into configuration mode and edit or delete the root authentication password.
root> configure
Entering configuration mode
[edit]
root# delete system root-authentication
[edit]
root# commit
- Reboot your Box right after.
root@JUNIPER> request system reboot
Reboot the system ? [yes,no] (no) yes
a. rahman isnaini rangkayo sutan
This entry was posted on Thursday, March 6th, 2008 at 5:26 am and is filed
under Juniper, Password Recovery. You can follow any responses to this entry
through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
One Response to “[Juniper] Password Recovery”
1. admin Says:
November 19th, 2010 at 4:32 pm
Performing checkout of management services …
NOTE: Once in the CLI, you will need to enter configuration mode using
NOTE: the ‘configure’ command to make any required changes. For example,
NOTE: to reset the root password, type:
NOTE: configure
NOTE: set system root-authentication plain-text-password
NOTE: (enter the new password when asked)
NOTE: commit
NOTE: exit
NOTE: exit
NOTE: When you exit the CLI, you will be asked if you want to reboot
NOTE: the system