[rancid] Re: New device on .cloginrc

Drikus Brits Drikus.Brits at vodacom.co.za
Fri Apr 16 14:50:09 UTC 2010


Hi,

If you need to use a specific user to log into your routers you can add it as 

<snip>
add user * wagner
</snip>

That should then tell clogin to always use the username wagner for any switch.

Regards,

Drikus



-----Original Message-----
From: rancid-discuss-bounces at shrubbery.net [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Wagner Pereira
Sent: 16 April 2010 04:43 PM
Cc: Rancid Mailing List
Subject: [rancid] Re: New device on .cloginrc

You're right, Drikus. I'm logged in as root user.

By the way, I noticed this comment in the .cloginrc file:

# add user <router name glob> <username>
#       The default user is $USER (i.e.: the user running clogin).

Ok, so, I copied the .cloginrc file to /root directory. It still doesn't 
work.

Error: TIMEOUT reached

Hugs,

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901


Em 16/4/2010 10:46, Drikus Brits escreveu:
> Hi,
>
> The root user is most likely because clogin is being executed as the root user, ie: you're logged in as root when you try to clogin into your router.
>
> Hope this helps,
>
> Drikus.
>
> -----Original Message-----
> From: rancid-discuss-bounces at shrubbery.net [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Wagner Pereira
> Sent: 16 April 2010 03:40 PM
> Cc: Rancid Mailing List
> Subject: [rancid] Re: New device on .cloginrc
>
> Ryan,
>
> When I try to connect to my device using /home/rancid/bin/clogin, this
> is what I get:
>
> --------------------
> spawn ssh -c 3des -x -l root 10.0.0.2
> root at 10.0.0.2's password:
> --------------------
>
> But, there is no root user written in my .cloginrc file.
>
> Where does this root user should come from?
>
> Hugs,
>
>    
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss at shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
“This e-mail is sent on the Terms and Conditions that can be accessed by Clicking on this link http://www.vodacom.co.za/legal/email.jsp "


More information about the Rancid-discuss mailing list