SRX

 View Only
last person joined: 3 days ago 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  Single-user mode to reset the password

    Posted 10-21-2021 08:30
    My greetings to all!
    I need to reset the password on my device (srx300).
    I press the space bar during OS boot (15.1X49-D150.20.2) and get a prompt (Octeon srx_300_ram#).
    When I try to boot into single-user mode (boot -s) nothing happens (boot - boot default, i.e., run 'bootcmd').

    All articles and manuals say that I get a "loader>" prompt.

    What am I doing wrong?

    ------------------------------
    Denis Rasskazov
    ------------------------------


  • 2.  RE: Single-user mode to reset the password

    Posted 10-21-2021 20:14
    Try the alternate method on this link to enter recovery mode.

    https://www.juniper.net/documentation/us/en/software/junos/user-access/topics/topic-map/recovering-root-password.html#id-recovering-the-root-password-on-junos-os-with-upgraded-freebsd


    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP)
    http://puluka.com/home
    ------------------------------



  • 3.  RE: Single-user mode to reset the password

    Posted 10-23-2021 08:54
    JunOS 15 has a different way of booting into single user mode. You need to get into u-boot, delete a keyword then perform the "standard" procedure.

    After the device shows USB devices, press Enter or any key (I don't remember which) to get u-boot's => prompt.

    Then
    printenv​

    There should be an entry for

    boot_unattended=0


    If there is

    setenv boot_unattended
    boot


    Now when you see "Hit [Enter] to boot immediately, or space bar for command prompt." press space bar to get the loader> prompt. Here you can issue

    boot -s


    ------------------------------
    KEN LUI
    ------------------------------



  • 4.  RE: Single-user mode to reset the password

    Posted 09-21-2023 20:08

    Is this procedure documented anywhere because I would've never found that but it was exactly what I required to get to where I needed to go. There wasn't a boot_unattended=0 key:value pair but I proceeded with setenv boot_unattended and it worked! So grazi.



    ------------------------------
    STEVEN BARNABEI
    ------------------------------