[rancid] Re: Possible to use different .cloginrc fie for groups ?
heas at shrubbery.net
Tue Dec 5 17:09:10 UTC 2006
Tue, Dec 05, 2006 at 01:58:15PM +0100, Atle ?stb?:
> I want to split the differents types of routeres souch as cisco, cat5 in different group. There is also different passwords for logging in to this also.
> Is it possible to have different .cloginrc password files for each group?
if you use rancid 2.3.2.a6, you can set CLOGINRC in your enviroment to
affect the login scripts. Then from cron
CLOGINRC=foo;export CLOGINRC;rancid-run groupA
CLOGINRC=bar;export CLOGINRC;rancid-run groupB
More information about the Rancid-discuss