[rancid] Rancid enable problem

Ryan West rwest at zyedge.com
Thu May 31 14:24:14 UTC 2012


You're never issuing enable, which is why you need autoenable 0.  Post the same output with autoenable 0.

Sent from handheld

On May 31, 2012, at 9:25 AM, "michael schnatterer" <michael6at at yahoo.de<mailto:michael6at at yahoo.de>> wrote:

Hy,
Here is my Output:

rancid at srv01: /home/rancid/bin/clogin -c show version "hostname"

version
spawn ssh -c 3des -x -l rancid version
ssh: Could not resolve hostname version: Name or service not known

Error: Couldn't login: version
"hostname"
spawn ssh -c 3des -x -l "User" "hostname"
"user"@"hostnames" password:
#######ASA Firewall ########
ASA-FW>
ASA-FW> termin terminal length 0
          ^
ERROR: % Invalid input detected at '^' marker.
ERROR: Command authorization failed
ASA-FW>show
INFO: % Type "show ?" for a list of subcommands
ASA-FW> exit

________________________________
Von: Ryan West <rwest at zyedge.com<mailto:rwest at zyedge.com>>
An: michael schnatterer <michael6at at yahoo.de<mailto:michael6at at yahoo.de>>
CC: Adam Korab <adam.korab at gmail.com<mailto:adam.korab at gmail.com>>; "rancid-discuss at shrubbery.net<mailto:rancid-discuss at shrubbery.net>" <rancid-discuss at shrubbery.net<mailto:rancid-discuss at shrubbery.net>>
Gesendet: 17:42 Dienstag, 29.Mai 2012
Betreff: RE: [rancid] Rancid enable problem

The autoenable should be set to 0 for your config.

-ryan

From: michael schnatterer [mailto:michael6at at yahoo.de]
Sent: Tuesday, May 29, 2012 10:39 AM
To: Ryan West
Cc: Adam Korab; rancid-discuss at shrubbery.net<mailto:rancid-discuss at shrubbery.net>
Subject: Re: [rancid] Rancid enable problem

.cloginrc

add user user1 {password}
add user * {rancid}

#Firewall
add password 193.186.1.2 {userpassword} {enablepassword}
add autoenable 193.186.1.2 1 or 0

add method * {ssh} {telnet}


Thats it, how i said in my further post on every asa firewall work this config
Best regards and thanks

________________________________
Von: Ryan West <rwest at zyedge.com<mailto:rwest at zyedge.com>>
An: michael schnatterer <michael6at at yahoo.de<mailto:michael6at at yahoo.de>>
CC: Adam Korab <adam.korab at gmail.com<mailto:adam.korab at gmail.com>>; "rancid-discuss at shrubbery.net<mailto:rancid-discuss at shrubbery.net>" <rancid-discuss at shrubbery.net<mailto:rancid-discuss at shrubbery.net>>
Gesendet: 14:49 Dienstag, 29.Mai 2012
Betreff: Re: [rancid] Rancid enable problem

Paste a sanitized version of your .cloginrc file.

Sent from handheld

On May 29, 2012, at 8:46 AM, "michael schnatterer" <michael6at at yahoo.de<mailto:michael6at at yahoo.de>> wrote:
In this case i have an other username as RANCID, but this username is entered in the cloginrc too.

add user 193.186.1.2 {User}
I login with the User and a password, after that i write enable and enter an other password as the first one.

Thanks

________________________________
Von: Ryan West <rwest at zyedge.com<mailto:rwest at zyedge.com>>
An: michael schnatterer <michael6at at yahoo.de<mailto:michael6at at yahoo.de>>; Adam Korab <adam.korab at gmail.com<mailto:adam.korab at gmail.com>>
CC: "rancid-discuss at shrubbery.net<mailto:rancid-discuss at shrubbery.net>" <rancid-discuss at shrubbery.net<mailto:rancid-discuss at shrubbery.net>>
Gesendet: 13:56 Dienstag, 29.Mai 2012
Betreff: RE: [rancid] Rancid enable problem

On Tue, May 29, 2012 at 02:47:51, michael schnatterer wrote:
> Subject: Re: [rancid] Rancid enable problem
>
> Hy Guy's
>
> Thanks for your help, but it wouldn't work...
> I tried with clogin -autoenable 193.186.1.2 but the enable command
> doesn't come.
> I tried to write the add autoenable 193.186.1.2 1 or 0 on the top of
> my cloginrc, without success.
>
> I'am a little bit frustrated about the problem :(
>
> have anybody any other idea?
>
> Realy thanks for every help

When you login to the device manually with the RANCID username, what exactly do you type?  Is it {username}, followed by {password}, then enable, followed by the same {password}?





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20120531/f9608413/attachment-0001.html>


More information about the Rancid-discuss mailing list