[rancid] .cloginrc - problem with password

Gareth Hopkins gabbawp at gmail.com
Mon Jan 23 19:56:32 UTC 2012


Hi, 

userpassword is only used if the password is different to the password set by the add password option. 

so change "add userpassword" to "add password"

Cheers, 

Gareth 
 
On 23 Jan 2012, at 9:45 PM, Paolo De Michele wrote:

> 
> 
> On 01/23/2012 08:31 PM, Gareth Hopkins wrote:
>> 
>> Hi, 
> 
> hi Gareth,
>> 
>> Try just with add password. 
>> 
>>> add password 10.0.0.3 {P-------l----3--------@} {L------x-x-0----l-------}
>> 
>> 
>> As per the clogin sample file 
>> 
>> <snip>
>> 
>> # add userpassword <router name glob> <user password>
>> #       The password for user if different than the password set
>> #       using 'add password'.
> 
> now it's correctly?
> 
> add userpassword 10.0.0.3 {P-------l----3--------@} {L------x-x-0----l-------}
> 
>> 
>> </snip>
>> 
>> Cheers, 
>> 
>> Gareth 
>> 
>> On 23 Jan 2012, at 8:18 PM, Paolo De Michele wrote:
>> 
>>> 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
>>>     - 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/ade147e9/attachment-0001.html>


More information about the Rancid-discuss mailing list