Discussion:
[rancid] Login Problems Without Username
Jason Ledford
2009-02-04 18:59:02 UTC
Permalink
So I have my previous problem sorted out, many thanks. Now I am having a problem logging in to routers that don't prompt for a username (the only diff I can see). These are predominatly 2600 series Cisco routers. I can telnet to the routers in question and am immediately prompted for a password, no username. I enter my password and can then #en and type the enable password and get my config. In my cloginrc file I have tried to use blank for add user and then just remove the add user line, and then :add password host password enpassword, and every time it tells me
Error: no password for dc-c2600-internet in /var/lib/rancid/.cloginrc

Even though in my cloginrc file I have the same add password line for it as I do for every other host.

Any help or pointers for what to try?

TIA
john heasley
2009-02-04 21:29:15 UTC
Permalink
Post by Jason Ledford
So I have my previous problem sorted out, many thanks. Now I am having a problem logging in to routers that don't prompt for a username (the only diff I can see). These are predominatly 2600 series Cisco routers. I can telnet to the routers in question and am immediately prompted for a password, no username. I enter my password and can then #en and type the enable password and get my config. In my cloginrc file I have tried to use blank for add user and then just remove the add user line, and then :add password host password enpassword, and every time it tells me
Error: no password for dc-c2600-internet in /var/lib/rancid/.cloginrc
Even though in my cloginrc file I have the same add password line for it as I do for every other host.
Any help or pointers for what to try?
you should have a cloginrc entry like

add password hostglob {password} {enablepassword}

if you need a username/password pair, use the same or this plus

add userpassword hostglob {userspecificpassword}

Loading...