[rancid] RANCID - Password Error using Telnet on Cisco Switch

heasley heas at shrubbery.net
Mon Dec 19 18:43:05 UTC 2016


Mon, Dec 19, 2016 at 10:42:28AM -0600, JP:
> Setting up RANCID on CENTOS6
> 
> in .cloginrc I put this line:
> 
> add password x.x.x.45 {xxxxxx!} {xxxxxx!}
> 
> 
> 
> When I try and test my password configuration it fails:
> 
> [rancid at tools rancid]$ /usr/libexec/rancid/clogin x.x.x.45
> x.x.x.45
> spawn telnet x.x.x.45
> Trying x.x.x.45...
> Connected to x.x.x.45.
> Escape character is '^]'.
> 
> 
> User Access Verification
> 
> Password:
> Password:
> Password:
> % Bad passwords
> 
> 
> Error: Check your passwd for x.x.x.45
> 
> 
> My password works fine when I enter it manually.
> 
> My password contains a " ! " character - could this be causing the problem?
> 
> I removed the " ! " with the same results.
> 
> I am sure it is something simple - guidance appreciated!

add password glob {foo\!bar}



More information about the Rancid-discuss mailing list