[rancid] Re: Howto use backup files ??

Chris Gauthier cgauthier at mapscu.com
Tue Jan 5 18:53:53 UTC 2010


The Ubuntu packages are configured to filter out the passwords by default.

--Chris

"For once you have tasted flight you will walk the earth with your eyes turned skywards, for there you have been and there you will long to return."
-Leonardo da Vinci

-----Original Message-----
From: rancid-discuss-bounces at shrubbery.net [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of john heasley
Sent: Tuesday, January 05, 2010 9:44 AM
To: Steve Teti
Cc: andrea.russos at comune.modena.it; rancid-discuss at shrubbery.net
Subject: [rancid] Re: Howto use backup files ??

Tue, Jan 05, 2010 at 08:27:03AM -0500, Steve Teti:
> Andrea wrote:
> > I ask 'cause using viewvc, when i navigate through the cvsroot page to 
> > one of the configs directory, i see ( for each revision file ) only 
> > three links:
> >  -) view
> >  -) annotate
> >  -) select for diffs
> > 
> > ..Is there the possibility to have a "download" link in order to see in 
> > the browser page the selected file only ???
> 
> Take a look at the allowed_views option in viewvc.conf.  Adding "co" to 
> the list of views should add a "download" link to your viewvc pages.
> 
> > ...I also know that after that i have to parse the file 'cause i need a 
> > file "purged" from the non-rilevant part ( such as hardware and firmware 
> > part )..
> 
> I believe the non-relevant parts are prepended with a "!", which should 
> allow you to paste or TFTP the entire file into a Cisco router with no 
> ill effects.  Also, if you have FILTER_PWDS enabled in rancid.conf (I 
> believe it's enabled by default), all your passwords will have been 
> stripped out of the stored config files.  Make sure you have the 
> relevant passwords stored elsewhere to replace into the config file.

FILTER_PWDS is off (commented) by default.  caveat is that if you're
using a linux pkg, they may have changed the default to "help" you.

> Steve
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss at shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


More information about the Rancid-discuss mailing list