password recovery of root account






revocery old
1- press "SPACE BAR" when asked  ( Need to be quick,  Just after the "FreeBSD/MIPS U-Boot bootstrap loader, Revision 2.10"   paragraph )

2- at the prompt disable watchdog  :    loader>    watchdog disable

4- loader>  type "boot -s"  ( in single mode )

5- Enter recovery mode by typing:  /sbin/sh/    recovery

6- at the CLI prompt type: configuration

7- set system root-authen plain-text-password

>>> type the new password   [ juniper1 ]

type: commit and-quit

8- type "exit" and

9- "Reboot the system? [y/n] y "
EX2300-C

revovery mode
## Executing script at 61000000
Setting bus to 0
SF: Detected MX25L6405D with page size 256 Bytes, erase size 64 KiB, total 8 MiB
device 0 offset 0x140000, size 0x140000
SF: 1310720 bytes @ 0x140000 Read: OK
7313fffc: 5a6d1cc7 ..mZ
crc32 for 73000000 ... 7313ffff ==> c71c6d5a
Total of 1 word(s) were the same
starting USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
SF: Detected MX25L6405D with page size 256 Bytes, erase size 64 KiB, total 8 MiB, mapped at 00000088
## Starting application at 0x00000074 ...
Consoles: U-Boot console

FreeBSD/armv6 U-Boot loader, Revision 1.2                      <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<  CTRL ^ C
(fbsd-builder@svl-bsdx-05.juniper.net, Fri Aug 26 11:13:00 PDT 2016)

DRAM: 2048MB
Number of U-Boot devices: 2
U-Boot env: loaderdev not set, will probe all devices.
Found U-Boot device: disk
Probing all disk devices...
Checking unit=0 slice=<auto> partition=<auto>... good.
|
Main Menu

1. Boot [J]unos volume
2. Boot Junos volume in [S]afe mode

3. [R]eboot

4. [B]oot menu
5. [M]ore options  <<<<<<<<<<<<<<<<< M






Choice:
Main Menu

1. Boot [J]unos volume
2. Boot Junos volume in [S]afe mode

3. [R]eboot

4. [B]oot menu
5. [M]ore options   <<<<<<<<<<<<<<<<<<< M






Choice:
Options Menu

1. Recover [J]unos volume   <<<<<<<<<<<<<<<<<<< J
2. Recovery mode - [C]LI

3. Check [F]ile system

4. Enable [V]erbose boot

5. [B]oot prompt

6. [M]ain menu