[rancid] rancid failing login to cisco switches

Alan McKinnon alan.mckinnon at gmail.com
Sat Apr 18 11:52:52 UTC 2015

On 17/04/2015 20:08, Cuttler, Brian (HEALTH) wrote:
> I'm replacing the HUP switches with Cisco and I've found that only switches that have established local user accounts (seems against new policy) are succeeding at login, were as my TACACS login is failing.
> I have added the "add user" and "add password" entries for each switch to the .cloginrc file, but I think its ignoring those lines in favor of the 
> "add user * joe" record in the .cloginrc file.
> Now quite sure what I'm seeing and don't see sufficient detail in the racid-run log files to verify my suspicion, or work around it.
> Open to suggestions, that in advance.
> Not sure what version of rancid I'm running, the clogin binary is in the 2.3.8 tree, I'm running on Ubuntu 14.04 LTS.

.cloginrc is read strictly in order so if you have "add user * joe" at
the very top, it will be used everywhere.

Check the ordering of .loginrc as step one.

Step 2 is to run clogin manually and check the output

Alan McKinnon
alan.mckinnon at gmail.com

More information about the Rancid-discuss mailing list