{"id":314,"date":"2016-05-04T14:37:55","date_gmt":"2016-05-04T14:37:55","guid":{"rendered":"https:\/\/thecligeek.com\/?p=314"},"modified":"2016-05-20T11:12:44","modified_gmt":"2016-05-20T11:12:44","slug":"reset-the-root-password-on-a-juniper","status":"publish","type":"post","link":"https:\/\/thecligeek.com\/?p=314","title":{"rendered":"Reset the root password on a Juniper."},"content":{"rendered":"<p>Let&#8217;s take a look how to reset the root password on a Junos based device.<br \/>\nFirst, we need to get access to the bootstrap loader command prompt. Don&#8217;t miss this prompt.<br \/>\n<code><font color=\"black\">Hit [Enter] to boot immediately, or space bar for command prompt.<\/font><\/code><br \/>\nThis is where you would press the &#8220;space bar&#8221;.<\/p>\n<p>In operational mode, disable the watchdog functionality and start the system in single-user mode.<br \/>\n<code><font color=\"black\">loader&gt; watchdog disable<br \/>\nloader&gt; boot -s<\/font><\/code><\/p>\n<p>The device will continue to boot and at the following prompt,<br \/>\n<code><font color=\"black\">Enter full pathname of shell or 'recovery' for root password recovery or RETURN for \/bin\/sh:<\/font><\/code><br \/>\nwe&#8217;re gonna go ahead and type <code><font color=\"black\">recovery<\/font><\/code> to start the root password recovery procedure.<br \/>\nOnce the device has completed booting you should see the CLI prompt and it will look something like that:<br \/>\n<code><font color=\"black\">Starting CLI ...<br \/>\nroot&gt;<\/font><\/code><br \/>\nand then we just need to go into configuration mode and set the root password.<br \/>\n<code><font color=\"black\">root> configure<br \/>\nroot# set system root-authentication plain-text-password<\/font><\/code><\/p>\n<p>Finally, let&#8217;s save the configuration and reboot the device.<br \/>\n<code><font color=\"black\">root# commit and-quit<br \/>\nroot> request system reboot<\/font><\/code><\/p>\n<p>That&#8217;s all, end of story.<\/p>\n<p><iframe loading=\"lazy\" width=\"600\" height=\"300\" src=\"https:\/\/www.youtube.com\/embed\/f5wAUFyuExQ\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Let&#8217;s take a look how to reset the root password on a Junos based device. First, we need to get access to the bootstrap loader command prompt. Don&#8217;t miss this prompt. Hit [Enter] to boot immediately, or space bar for command prompt. This is where you would press the &#8220;space bar&#8221;. In operational mode, disable &hellip; <a href=\"https:\/\/thecligeek.com\/?p=314\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Reset the root password on a Juniper.&#8221;<\/span><\/a><\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35],"tags":[36,37,38],"class_list":["post-314","post","type-post","status-publish","format-standard","hentry","category-juniper","tag-juniper","tag-password-recovery","tag-reset-password"],"_links":{"self":[{"href":"https:\/\/thecligeek.com\/index.php?rest_route=\/wp\/v2\/posts\/314","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thecligeek.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thecligeek.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thecligeek.com\/index.php?rest_route=\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/thecligeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=314"}],"version-history":[{"count":57,"href":"https:\/\/thecligeek.com\/index.php?rest_route=\/wp\/v2\/posts\/314\/revisions"}],"predecessor-version":[{"id":375,"href":"https:\/\/thecligeek.com\/index.php?rest_route=\/wp\/v2\/posts\/314\/revisions\/375"}],"wp:attachment":[{"href":"https:\/\/thecligeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thecligeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thecligeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}