[rancid] Re: clogin password

john heasley heas at shrubbery.net
Tue Jul 29 15:11:17 UTC 2008


Tue, Jul 29, 2008 at 07:44:26AM -0700, Dale Shaw:
> Hi,
> 
> On Tue, Jul 29, 2008 at 12:07 AM, Smirnoff Alexander <asmirnoff at gldn.net> wrote:
> >
> > I try to explain more. For example I have 3 cisco routers. All have same
> > password and username, but one router ask only password. Now I use this
> > .clorginrc:
> >
> > #all routers
> > add user * user
> > add password * password enablepassword
> >
> > And RANCID can login only to 2 cisco's what ask username, third cisco
> > ask only password, and RANCID can't login.
> >
> > What I need to change in .cloginrc for login to third Cisco?
> 
> I think you probably want:
> 
> add user * {alexander}
> add userpassword * {alexanderpasswd}
> add password * {vtypasswd} {enablepwd}
> 
> If the router gives a Username: prompt, it'll enter Username:
> alexander and Password: alexanderpasswd, then go into enable mode with

if alexanderpasswd/userpassword does not exist, it should use vtypasswd

> "enablepwd". If it doesn't prompt for Username:, it'll just enter
> "vtypasswd", then go into enable mode with "enablepwd".
> 
> cheers,
> Dale
> _______________________________________________
> 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