[rancid] Re: clogin error

Gareth Hopkins gabbawp at gmail.com
Mon Jul 14 09:40:58 UTC 2008


Hi,

You need to enclose the login and the enable password seperately.

<snip>

add password host {login} {enable}

</snip>

There is alot more you can specify. More info availalbe at
http://www.shrubbery.net/rancid/man/cloginrc.5.html

On Mon, Jul 14, 2008 at 10:43 AM, Ingabire Grace <gingabire at rwandatel.rw>
wrote:

>  Here is the syntax of my file:
>
>
>
> add password 196.xx.xx.xx {rancid123 ghy_#tpe}
>
> rancid123: rancid password
>
> ghy_#tpe: enable password
>
>
>
> Regards,
>
> Grace
>
>
>
>
>  ------------------------------
>
> *From:* rancid-discuss-bounces at shrubbery.net [mailto:
> rancid-discuss-bounces at shrubbery.net] *On Behalf Of *Ingabire Grace
> *Sent:* Monday, July 14, 2008 10:36 AM
> *To:* 'Martin, Seth'; 'Steve Ousley'; rancid-discuss at shrubbery.net
> *Subject:* [rancid] Re: clogin error
>
>
>
> I' m still getting the same error even after enclose them in {}.
>
>
>
>
>
>
>  ------------------------------
>
> *From:* rancid-discuss-bounces at shrubbery.net [mailto:
> rancid-discuss-bounces at shrubbery.net] *On Behalf Of *Martin, Seth
> *Sent:* Thursday, July 10, 2008 1:30 PM
> *To:* Steve Ousley; rancid-discuss at shrubbery.net
> *Subject:* [rancid] Re: clogin error
>
>
>
> If your password uses special characters you may need to enclose it in {}
>
>
>
> _____________________________________________________________________
> Seth Martin
>   ------------------------------
>
> *From:* rancid-discuss-bounces at shrubbery.net [mailto:
> rancid-discuss-bounces at shrubbery.net] *On Behalf Of *Steve Ousley
> *Sent:* Thursday, July 10, 2008 6:05 AM
> *To:* rancid-discuss at shrubbery.net
> *Subject:* [rancid] Re: clogin error
>
>
>
> The "rancid password" I forgot to mention will be the password that rancid
> uses to login.  This will be the user that is specified in the line like:
>
>
>
> add user * <rancid user>
>
>
>
> Steve Ousley - SO620-RIPE
>
> Nuco Technologies Ltd
>
> steve at host-it.co.uk
>
> www.nucotechnologies.com
>
> Tel. 0870 165 1300
>
>
>
> Nuco Technologies Ltd is a company registered in England and Wales
> with company number 04470751
>
>
>
> *From:* Ingabire Grace [mailto:gingabire at rwandatel.rw]
> *Sent:* 10 July 2008 11:01
> *To:* 'Steve Ousley'; rancid-discuss at shrubbery.net
> *Subject:* RE: [rancid] Re: clogin error
>
>
>
> I don't have have the word enable.
>
> The syntax is:
>
> Add password router IP router password router enable password
>
> Should I change it to something similar as this?
>
>
>
> Add password router IP rancid password enable password
>
> As suggested?
>
>
>
> Thanks for your quick reply.
>
>
>
> Regards,
>
> Grace
>
>
>  ------------------------------
>
> *From:* rancid-discuss-bounces at shrubbery.net [mailto:
> rancid-discuss-bounces at shrubbery.net] *On Behalf Of *Steve Ousley
> *Sent:* Thursday, July 10, 2008 11:52 AM
> *To:* rancid-discuss at shrubbery.net
> *Subject:* [rancid] Re: clogin error
>
>
>
> Do you actually have the word "enable" in there?  The format of the lines I
> have is:
>
>
>
> add password <router mask> <rancid password> <enable password>
>
>
>
> Also, I am not sure wether this particularly matters, but I have some
> routers that have different login details to all others, and these are
> specified above the rule that states the password for all other routers.
>
>
>
> So I have like:
>
>
>
> add password firewall1 <rancid password> <enable password>
>
> add password firewall2 <rancid password> <enable password>
>
> add password * <rancid password> <enable password>
>
>
>
> Not sure if the order does matter, but I would have thought rancid would
> simply look for the first matching line.
>
>
>
> Regards
>
>
>
> Steve Ousley - SO620-RIPE
>
> Nuco Technologies Ltd
>
> steve at host-it.co.uk
>
> www.nucotechnologies.com
>
> Tel. 0870 165 1300
>
>
>
> Nuco Technologies Ltd is a company registered in England and Wales
> with company number 04470751
>
>
>
> *From:* rancid-discuss-bounces at shrubbery.net [mailto:
> rancid-discuss-bounces at shrubbery.net] *On Behalf Of *Ingabire Grace
> *Sent:* 10 July 2008 10:44
> *To:* rancid-discuss at shrubbery.net
> *Subject:* [rancid] clogin error
>
>
>
> *Hello,*
>
> * *
>
> *I have configured rancid but I m getting an error:*
>
> *clogin error: Error: extra characters after close-brace*
>
> *In my.clogin file, here is the syntax of all the routers that I added:*
>
> * *
>
> *add password router password enable password*
>
> * *
>
> *Has any one get a problem like this?*
>
> * *
>
> *Thanks for your prompt reply.*
>
> * *
>
> *Regards,*
>
> * *
>
> *Grace*
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20080714/52af098d/attachment.html 


More information about the Rancid-discuss mailing list