[rancid] Re: cloginrc

Sam Munzani smunzani at comcast.net
Tue Jan 15 22:12:49 UTC 2008


Joshua,

move the "*" section at the end. More specific regex should go 1st 
otherwise it will match at your 1st wild card and never evaluate the others.

Sam
>
> I have a question about the .cloginrc file.  I have a number of 
> switches that I am currently backing up the configs with and would 
> like to add my pix firewalls.  Currently I have this in my cloginrc file:
>
>  
>
> ## Routers and Switches
>
> add user *              user
>
> add password *          {password}
>
> add autoenable *        1
>
>  
>
> And I was going to add this for the pix firewalls that used ssh:
>
> ## Pix Firewalls
>
> add password gsonc-spg-pix*    {radius pass}        {enablepass}
>
> add method gsonc-spg-pix*      ssh
>
>  
>
> add password *501     {radius pass}        {enablepass}
>
> add method *501       ssh
>
>  
>
> So my config looks like this now:
>
> ## Routers and Switches
>
> add user *              user
>
> add password *          {password}
>
> add autoenable *        1
>
>  
>
> ## Pix Firewalls
>
> add password gsonc-spg-pix*    {radius pass}        {enablepass}
>
> add method gsonc-spg-pix*      ssh
>
>  
>
> add password *501     {radius pass}        {enablepass}
>
> add method *501       ssh
>
>  
>
>  
>
> But my logfile says that the pixes are timeing out at login.  Can 
> someone help me out with this?
>
>  
>
> Thanks,
>
>  
>
> Josh
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20080115/c8c65184/attachment.html 


More information about the Rancid-discuss mailing list