[rancid] Enable requires username and password

Eric Helm helmwork at ruraltel.net
Mon Dec 4 16:52:10 UTC 2006


I'm having problems with a device that requires a Username and Password
for enable access. I've tried 'add enableprompt' and 'add enauser' to my
.cloginrc file. However, when I test with rancid-run, it attempts to use
only an enable password, but not a username/password. Anyone have an
example I can reference, or an idea of what I'm doing wrong?

I've got something like this in my .cloginrc file:
add enableprompt fbi4000-turin.vic*     {"User Name:"}
add enauser     fbi4000-turin.vic*      ranciduser
add user        fbi4000-turin.vic*      ranciduser
add userpassword fbi4000-turin.vic*     {userpass}
add method      fbi4000-turin*          telnet
add user        fbi4000-turin*          ranciduser
add password    fbi4000-turin*          {userpass}      {enablepass}

Access to the fbi4000-turin* works OK, but its not using user auth for
enable access. The fbi4000-turin.vic* are the devices having issues.

Thanks,
Eric



More information about the Rancid-discuss mailing list