[rancid] Re: clogin requires .cloginrc entry even if password is set

john heasley heas at shrubbery.net
Sat Jan 20 03:12:35 UTC 2007


Fri, Jan 19, 2007 at 03:08:36PM -0800, Dylan Vanderhoof:
> Trying to do this from the command line:
> 
> HOME=/home/rancid /usr/local/rancid/bin/clogin  -autoenable -c 'show
> run' -p ******* -u username routername

it really want an enable password; so add -e ''.  guess we can whack that
based on -autoenable.

> And get this result:
> 
> routername
> 
> Error: no password for routername in /home/rancid/.cloginrc.
> 
> This seems like it shouldn't happen if I have a username and password
> specified on the command line.  Is there any way around this?
> 
> Thanks,
> Dylan
> _______________________________________________
> 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