[rancid] Re: New device on .cloginrc

Wagner Pereira wpereira at pop-sp.rnp.br
Fri Apr 16 14:42:43 UTC 2010


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,
>
>    


More information about the Rancid-discuss mailing list