[rancid] Possible to use different password in .cloginrc
Atle Østbø
Atle.Ostbo at tdcsong.no
Fri Nov 24 12:56:50 UTC 2006
Hi
I have installed the rancid-2.3.2a5.tar.gz on an Linux RedHat server.
Most of our cpe and core routeres/switches have configured tacacs, but there is several of them that use login/enable password to get access to the configuration.
Are the possible to set up some roule to use the tacacs login first, if that failed - then go to next match in the .cloginrc file.
Example:
# Most of the routers have tacacs login - try with that first
add user *.no.sn.net auto
add password *.no.sn.net {rancid!}
add autoenable *.no.sn.net 1
#If login failed - try login/enable password
add password *.no.sn.net {differentyou} {v8motor}
add autoenable*.no.sn.net 0
I have used some time to search the web for some solution for this, but I have not get any match.
If you have some tips how I should do this - please send me an answer.
I will also say this is a wery good tool - and help us to hold track for our canges on the routers.
Best regards
Atle Oestboe
Network Services
TDC Song AS
Prof.O.Hanssensvei 7
Postboks 8034
N-4068 Stavanger
Norway
Phone: +47 51 20 26 51
/Mobile: +47 40 000 651
Fax +47 51 20 26 01
E-mail: atle.ostbo at tdcsong.no
Web: tdcsong.no
More information about the Rancid-discuss
mailing list