[rancid] Re: OK I'm confused, .cloginrc not working

Todd Heide Todd at equivoice.com
Fri Feb 6 16:10:19 UTC 2009


Yep DOH on my part. I ran it with -d and got an error
Error: Unknown argument! -d

Ran it as  bin/clogin -f /usr/local/rancid/.cloginrc hostname, and it
fails to authenticate. 

Escape character is '^]'.

Password:

% Authentication failed

Password:
Error: Check your passwd for

Thanks
Todd 

-----Original Message-----
From: Chris Knight [mailto:boheme at gmail.com] 
Sent: Wednesday, February 04, 2009 7:50 PM
To: Todd Heide; Rancid-discuss at shrubbery.net
Subject: Re: [rancid] Re: OK I'm confused, .cloginrc not working

Your problem is that the rancid tools are not in your path.  You
either need to envoke clogin fully pathed (ie
/usr/local/rancid/bin/clogin )  or you need to fix your path.

You might want to make sure you understand how unix paths work, as
this is something that will bite you again and again over the coming
years:  http://kb.iu.edu/data/acar.html

-Chris

On Wed, Feb 4, 2009 at 5:03 PM, Todd Heide <Todd at equivoice.com> wrote:
> bash: clogin: command not found
>
> Thanks
> 
>
> -----Original Message-----
> From: john heasley [mailto:heas at shrubbery.net]
> Sent: Wednesday, February 04, 2009 4:46 PM
> To: Todd Heide
> Cc: rancid-discuss at shrubbery.net
> Subject: Re: [rancid] Re: OK I'm confused, .cloginrc not working
>
> Wed, Feb 04, 2009 at 04:22:16PM -0600, Todd Heide:
>> Correction, I found I had ( instead of { for the all else password,
so
>> AAA appears to work, but the individuals are not working still.
>
> try clogin -d hostname
>
> and look for the password exchanges to verify the correct strings are
> being sent.  my guess would be that you have an unquoted special char
> in one of your passwords.
> _______________________________________________
> 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