Question...
I am wondering though about how you get to the boot prompt itself?
Your instructions say:
1) obtain console access
2) power off the system and boot it up in single user mode
3) type -s at the boot prompt.
So JUNOS runs off of UNIX BSD which is what you'll be accessing when you
boot the router. So you have to use -s (single user mode) and then you run
the script.
I think the script must run the fsck and mount and starts the management
daemon
if my information is correct, but getting to the boot prompt is confusing me.
So I am assuming that when the Juniper router reboots that
it will automatically boot to Multiuser mode unless you specify single
user mode (which has no password)?
The question is then how do you get to the boot prompt so that
you can specify the -s option. Does it come up automatically?
As you can tell I do not have the luxury to test out this sequence.
JT
D J E wrote:
> Please do the following to recover/reset the root password:
>
> 1. Obtain console access
>
> 2. Power off the system and boot it up in single user mode.
> This is done by typing "-s" at the boot: prompt.
>
> 3. Next, the system will do it's normal boot up process. When
prompted
> for "pathname" enter: /usr/libexec/ui/recovery-mode
> This will run a script for password recovery.
>
> Enter pathname of shell or RETURN for sh:
> /usr/libexec/ui/recovery-mode
>
> 4. The system will finish booting up and put you at a "root>"
prompt
> as such.
>
> NOTE: the system
> Starting CLI ...
> root>
>
> 5. Now you can go 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 and-quit
> commit complete
> Exiting configuration mode
>
> 6. Finally, reboot system.
>
> root@xxxxxx> request system reboot
> Reboot the system ? [yes,no] (no) yes
>
> Unfortunately I don't know of a way to do this without rebooting the router.
Message Posted at:
http://www.groupstudy.com/form/read.php?f=9&i=760&t=750
--------------------------------------------------
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/juniper.html