Discussion:
[rancid] OK I'm confused, .cloginrc not working
Todd Heide
2009-02-04 22:18:29 UTC
Permalink
Seems like something isn't right. I have the same clogin file that has
worked in the past, and I verified that I can ssh, or telnet to these
deices, using the correct username and password combination, but none of
the devices are authenticating, I get "clogin error: Error: Check your
passwd for".

Here is a sampling of my .cloginrc





add password 10.1.3.58 {password} {otherpassword}

add method 10.1.3.58 telnet

add password 10.1.3.59 {password} {otherpassword}

add method 10.1.3.59 telnet



The above is for devices that are not on AAA, and for those on AAA



add user * rancid

add password * {rancidpassword}

add autoenable * 1



I haven't checked against SSH or the ASA's yet, but they worked in the
past also, and have not changed.



add autoenable ip.ip.ip.ip 0

add user ip.ip.ip.ip rancid

add cyphertype des

add password ip.ip.ip.ip {password}
{password}

add method ip.ip.ip.ip ssh



Is there a log file I can look at?





Thanks

Todd
Todd Heide
2009-02-04 22:22:16 UTC
Permalink
Correction, I found I had ( instead of { for the all else password, so
AAA appears to work, but the individuals are not working still.



Thanks

Todd Heide

Equivoice Inc.



CCSP CCNA CCDA

847-235-3308



Nothing ever goes as planned, Its a hell of a notion,

Even pharaohs turn to sand, Like a drop in the ocean

From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Todd Heide
Sent: Wednesday, February 04, 2009 4:18 PM
To: rancid-***@shrubbery.net
Subject: [rancid] OK I'm confused, .cloginrc not working



Seems like something isn't right. I have the same clogin file that has
worked in the past, and I verified that I can ssh, or telnet to these
deices, using the correct username and password combination, but none of
the devices are authenticating, I get "clogin error: Error: Check your
passwd for".

Here is a sampling of my .cloginrc





add password 10.1.3.58 {password} {otherpassword}

add method 10.1.3.58 telnet

add password 10.1.3.59 {password} {otherpassword}

add method 10.1.3.59 telnet



The above is for devices that are not on AAA, and for those on AAA



add user * rancid

add password * {rancidpassword}

add autoenable * 1



I haven't checked against SSH or the ASA's yet, but they worked in the
past also, and have not changed.



add autoenable ip.ip.ip.ip 0

add user ip.ip.ip.ip rancid

add cyphertype des

add password ip.ip.ip.ip {password}
{password}

add method ip.ip.ip.ip ssh



Is there a log file I can look at?





Thanks

Todd
john heasley
2009-02-04 22:45:58 UTC
Permalink
Post by 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.
Todd Heide
2009-02-05 01:03:44 UTC
Permalink
bash: clogin: command not found

Thanks
Todd Heide
Equivoice Inc.
  
CCSP CCNA CCDA
847-235-3308
 
Nothing ever goes as planned, Its a hell of a notion,
Even pharaohs turn to sand, Like a drop in the ocean


-----Original Message-----
From: john heasley [mailto:***@shrubbery.net]
Sent: Wednesday, February 04, 2009 4:46 PM
To: Todd Heide
Cc: rancid-***@shrubbery.net
Subject: Re: [rancid] Re: OK I'm confused, .cloginrc not working
Post by 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.
Chris Knight
2009-02-05 01:49:42 UTC
Permalink
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
Post by Todd Heide
bash: clogin: command not found
Thanks
Todd Heide
Equivoice Inc.
CCSP CCNA CCDA
847-235-3308
Nothing ever goes as planned, Its a hell of a notion,
Even pharaohs turn to sand, Like a drop in the ocean
-----Original Message-----
Sent: Wednesday, February 04, 2009 4:46 PM
To: Todd Heide
Subject: Re: [rancid] Re: OK I'm confused, .cloginrc not working
Post by 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
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Todd Heide
2009-02-06 16:10:19 UTC
Permalink
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:***@gmail.com]
Sent: Wednesday, February 04, 2009 7:50 PM
To: Todd Heide; Rancid-***@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
Post by Todd Heide
bash: clogin: command not found
Thanks
-----Original Message-----
Sent: Wednesday, February 04, 2009 4:46 PM
To: Todd Heide
Subject: Re: [rancid] Re: OK I'm confused, .cloginrc not working
Post by 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
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Todd Heide
2009-02-06 16:44:13 UTC
Permalink
Other than the telnet not working as below, I found the AAA one is
working, problem is, CVS or Viewvc doesn't appear to be working. I can
see the new routers from router.db listed as new router, but no new
updates. If I go into the group Core_Routers/configs and cat an entry in
there I can see the config from the router, so it has pulled the configs
at some point, but has not committed them to CVS. Do I need to do
something to get these to commit?

Thanks
Todd Heide
Equivoice Inc.

CCSP CCNA CCDA
847-235-3308

Nothing ever goes as planned, Its a hell of a notion,
Even pharaohs turn to sand, Like a drop in the ocean

-----Original Message-----
From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Todd Heide
Sent: Friday, February 06, 2009 10:10 AM
To: Rancid-***@shrubbery.net
Subject: [rancid] Re: OK I'm confused, .cloginrc not working

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:***@gmail.com]
Sent: Wednesday, February 04, 2009 7:50 PM
To: Todd Heide; Rancid-***@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
Post by Todd Heide
bash: clogin: command not found
Thanks
-----Original Message-----
Sent: Wednesday, February 04, 2009 4:46 PM
To: Todd Heide
Subject: Re: [rancid] Re: OK I'm confused, .cloginrc not working
Post by 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
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
john heasley
2009-02-06 18:01:15 UTC
Permalink
Post by Todd Heide
Yep DOH on my part. I ran it with -d and got an error
Error: Unknown argument! -d
-d is right. if it does not accept it you are not running the latest.
please install 2.3.2a9. then we can talk. Also, actually read what
Chris posted and consider how it relates to the your post.
Post by Todd Heide
Ran it as bin/clogin -f /usr/local/rancid/.cloginrc hostname, and it
fails to authenticate.
Escape character is '^]'.
% Authentication failed
Error: Check your passwd for
Thanks
Todd
-----Original Message-----
Sent: Wednesday, February 04, 2009 7:50 PM
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
Post by Todd Heide
bash: clogin: command not found
Thanks
-----Original Message-----
Sent: Wednesday, February 04, 2009 4:46 PM
To: Todd Heide
Subject: Re: [rancid] Re: OK I'm confused, .cloginrc not working
Post by Todd Heide
Correction, I found I had ( instead of { for the all else password,
so
Post by Todd Heide
Post by Todd Heide
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
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Todd Heide
2009-02-06 19:38:20 UTC
Permalink
When I upgrade this, should I do it as rancid user or root? Readme
doesn't particularly say so.

Thanks
Todd

-----Original Message-----
From: john heasley [mailto:***@shrubbery.net]
Sent: Friday, February 06, 2009 12:01 PM
To: Todd Heide
Cc: Rancid-***@shrubbery.net
Subject: Re: [rancid] Re: OK I'm confused, .cloginrc not working
Post by Todd Heide
Yep DOH on my part. I ran it with -d and got an error
Error: Unknown argument! -d
-d is right. if it does not accept it you are not running the latest.
please install 2.3.2a9. then we can talk. Also, actually read what
Chris posted and consider how it relates to the your post.
Post by Todd Heide
Ran it as bin/clogin -f /usr/local/rancid/.cloginrc hostname, and it
fails to authenticate.
Escape character is '^]'.
% Authentication failed
Error: Check your passwd for
Thanks
Todd
-----Original Message-----
Sent: Wednesday, February 04, 2009 7:50 PM
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
Post by Todd Heide
bash: clogin: command not found
Thanks
-----Original Message-----
Sent: Wednesday, February 04, 2009 4:46 PM
To: Todd Heide
Subject: Re: [rancid] Re: OK I'm confused, .cloginrc not working
Post by Todd Heide
Correction, I found I had ( instead of { for the all else password,
so
Post by Todd Heide
Post by Todd Heide
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
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Loading...