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

Dylan Vanderhoof DylanV at semaphore.com
Sat Jan 20 19:12:59 UTC 2007


Ah ha.  That did it, thanks.  Expected -e and -v to be passed even if
unused.

-D

> -----Original Message-----
> From: john heasley [mailto:heas at shrubbery.net] 
> Sent: Friday, January 19, 2007 7:13 PM
> To: Dylan Vanderhoof
> Cc: rancid-discuss at shrubbery.net
> Subject: Re: [rancid] clogin requires .cloginrc entry even if 
> password is set
> 
> 
> 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