<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Password Recovery - Tag - Fryguy's Blog</title><link>https://hugo.fryguy.net/tags/password-recovery/</link><description>Password Recovery - Tag - Fryguy's Blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Thu, 28 Sep 2017 12:00:03 +0000</lastBuildDate><atom:link href="https://hugo.fryguy.net/tags/password-recovery/" rel="self" type="application/rss+xml"/><item><title>Juniper SRX Password Recovery</title><link>https://hugo.fryguy.net/2017/09/28/juniper-srx-password-recovery/</link><pubDate>Thu, 28 Sep 2017 12:00:03 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2017/09/28/juniper-srx-password-recovery/</guid><description><![CDATA[  
I can imagine that is how I looked when I got my &#8220;new&#8221; Juniper SRX from (insert favorite auction site) and booted it the first time.  All ready to play with my new toy &#8211; lab some new ideas &#8211; and boom, it has a password on it already.  Grrrr&#8230;.  
Since I had to recover the root password, figured I would post the procedure here in case others are looking for it.  Not only in case others are looking for it, the next time that I need it as well! 🙂  
So the first thing we need to do here is to make sure the device is powered off and we have a console cable connected to it.  I will assume you know how to use your terminal program and access the console already for this post otherwise I suspect you would not be here.  
Now that you are connected we can go ahead and power the SRX on and watch it boot.   In order to boot the system into single user mode, we need to press the space bar when prompted. It will be right at this point in the boot process &#8211; right when you see _Hit [Enter} to boot immediately, or space bar for command prompt.  _Here you need to press the SPACE BAR quick to interrupt the boot process.
<p style="padding-left: 30px;">
  <span style="font-family: 'courier new', courier, monospace; color: #0000ff;">FreeBSD/MIPS U-Boot bootstrap loader, Revision 2.5</span><br /> <span style="font-family: 'courier new', courier, monospace; color: #0000ff;">(slt-builder@slt-junos15.juniper.net, Tue Apr 2 12:36:46 PDT 2013)</span><br /> <span style="font-family: 'courier new', courier, monospace; color: #0000ff;">Memory: 2048MB</span><br /> <span style="font-family: 'courier new', courier, monospace; color: #0000ff;">[0]Booting from nand</span><span style="font-family: 'courier new', courier, monospace; color: #0000ff;">-flash slice 1</span><br /> <span style="font-family: 'courier new', courier, monospace; color: #0000ff;">Un-Protected 1 sectors</span><br /> <span style="font-family: 'courier new', courier, monospace; color: #0000ff;">writing to flash&#8230;</span><br /> <span style="font-family: 'courier new', courier, monospace; color: #0000ff;">Protected 1 sectors</span><br /> <span style="font-family: 'courier new', courier, monospace; color: #0000ff;">Loading /boot/defaults/loader.conf </span><br /> <span style="font-family: 'courier new', courier, monospace; color: #0000ff;">/kernel data=0xb99284+0x13c8b4 syms=[0x4+0x91b00+0x4+0xd5dfb]</span>
</p>]]></description></item><item><title>Juniper Password Recovery</title><link>https://hugo.fryguy.net/2014/08/07/juniper-password-recovery/</link><pubDate>Thu, 07 Aug 2014 17:17:47 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2014/08/07/juniper-password-recovery/</guid><description><![CDATA[  
I recently purchased a Juniper J2320 from eBay for a fair price.  I know it is an older router, but it has the features I need in order to test and write a few things.  When I received the router it was not sent with a wiped config, so I was unable to log into it upon booting.  
Since I need to recover the device, figured might as well write and share how to do it!  
Obviously the first thing you will need will be a Serial connection to the device.  I am assuming you have a USB -> Serial adapter, if not this is the one I have and I got it from Amazon here <a href="http://www.amazon.com/gp/product/B0007T27H8?ie=UTF8&camp=213733&creative=393185&creativeASIN=B0007T27H8&linkCode=shr&tag=frygunet-20&linkId=SDP2MI7N5SYVYWY2&psc=1" target="_blank" rel="noopener noreferrer">LINK</a>.  
1. Make sure the power to the device is turned off.  If it is turned on, please use the power button to force the system to shut down cleanly.  If you do not do this and just yank the power, you risk corrupting the OS and having more fun later.]]></description></item></channel></rss>