[j-nsp] Restore M7 to initial state

Michael Lee fwissue at gmail.com
Fri Jul 31 14:10:23 EDT 2009


Wondering I  could format the cf card first, then the hard drive?

Regards

-mike

On Jul 31, 2009, at 10:22 AM, "Kevin Oberman" <oberman at es.net> wrote:

>> Date: Fri, 31 Jul 2009 18:35:51 +0200 (CEST)
>> From: sthaug at nethelp.no
>> Sender: juniper-nsp-bounces at puck.nether.net
>>
>>> masood at Voyager# load
>>> factory-default
>>
>> The problem with this is that it won't let you commit without setting
>> a root password. Now if I want to create something which looks like a
>> factory fresh router it I specifically don't want it to have a root
>> password.
>>
>> So, a small request for enhancement here: JunOS should let you commit
>> an *empty* configuration even if root password has not been set.
>>
>>> You might also need to delete configuration
>>> archives nd logs. Have a look @
>>>
>>> /config
>>> /var/db/config
>>> /var
>>
>> It would be nice to have a ready-made command to clean these (and any
>> other directories that might have been written to).
>
> And, as I keep reminding people, if you REALLY don't want to expose  
> your
> passwords and configurations, the only safe solution is to drop into  
> the
> shell, and 'dd if=/dev/zero of=/dev/ad1'.
>
> This erases the hard drive. I then pull the flash and plug it into
> my laptop and 'dd' over that, too. Then replace the CF card and boot  
> up
> on the distribution media to install a clean JunOS.
>
> This will make sure RAS never gets a chance to read your config. :-)
> -- 
> R. Kevin Oberman, Network Engineer
> Energy Sciences Network (ESnet)
> Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
> E-mail: oberman at es.net            Phone: +1 510 486-8634
> Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp


More information about the juniper-nsp mailing list