[rancid] .cloginrc - problem with password
Paolo De Michele
paolo at paolodemichele.it
Mon Jan 23 19:20:45 UTC 2012
On 01/23/2012 07:51 PM, heasley wrote:
> Mon, Jan 23, 2012 at 07:18:07PM +0100, Paolo De Michele:
>> hi list,
>> I have problems to authenticate my cisco router with passwordi to enable.
>>
>> the scenario is as follows:
>> - authentication password has special characters, uppercase letters,
>> lowercase letters and numbers
> see the cloginrc(5) manpage for dealing with special characters, the
> format of userpassword and enauser and autoenable.
now, my .cloginrc is:
add method * {ssh}
add user * {-------------}
add userpassword * {Pxxxxxxxxxx3xxxxx@}
add passprompt {"L-----------------c3------"}
from console:
xxxxxxxxxx at 10.x.x.x's password:
cxxxxxx>enable
Password:
Password:
Password:
% Bad secrets
I am sure that the enable password I put is correct, but I don't
understand where I'm wrong syntax
>> - enable password has capital letters, lowercase letters and numbers
>>
>> my .cloginrc is:
>>
>> add method {ssh}
>> add user 10.0.0.3 username
>> add userpassword 10.0.0.3 {P-------l----3--------@}
>> add enauser 10.0.0.3 {L------x-x-0----l-------}
>>
>> I also tried:
>>
>>
>> add method {ssh}
>> add user 10.0.0.3 username
>> add userpassword 10.0.0.3 {P-------l----3--------@}
>> {L------x-x-0----l-------}
>>
>>
>>
>> the problem is that I am logging to the router but not in enable.
>> something wrong in the syntax of the file. cloginrc?
>> I look forward to your help
>> thanks in advance
>> _______________________________________________
>> 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/20120123/45f9829e/attachment.html>
More information about the Rancid-discuss
mailing list