[rancid] Re: New device on .cloginrc
Drikus.Brits at vodacom.co.za
Fri Apr 16 14:50:09 UTC 2010
If you need to use a specific user to log into your routers you can add it as
add user * wagner
That should then tell clogin to always use the username wagner for any switch.
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
Error: TIMEOUT reached
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
Tel. (11) 3091-8901
Em 16/4/2010 10:46, Drikus Brits escreveu:
> 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,
> -----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
> 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?
Rancid-discuss mailing list
Rancid-discuss at shrubbery.net
“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