[rancid] .cloginrc - problem with password

Paolo De Michele paolo at paolodemichele.it
Mon Jan 23 21:16:43 UTC 2012


have the same password of all routers
It is not a problem of global settings

On 01/23/2012 09:04 PM, Gareth Hopkins wrote:
> Do you perhaps have a global setting somewhere else in your clogin
> file as you only have an entry for 10.0.0.3
> and not 10.0.0.6 which you are getting the error from. 
>
> Cheers, 
>
> Gareth 
>
> On 23 Jan 2012, at 10:02 PM, Paolo De Michele wrote:
>
>> my .cloginrc:
>>
>> add user 10.0.0.3 xxxxxxxxxx
>> add password 10.0.0.3
>> {P-------l----3--------@} {L------x-x-0----l-------}
>>
>> output from console:
>>
>> administrator at 10.0.0.6's password:
>> Permission denied, please try again.
>>
>> Error: Check your passwd for 10.0.0.6
>>
>>
>> excuse me, but I don't understand where I'm wrong
>> are inexperienced and if I don't go out in this point are completely
>> blocked. Thanks again
>>
>> On 01/23/2012 08:56 PM, Gareth Hopkins wrote:
>>> 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 <mailto: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/2a2cbb9a/attachment.html>


More information about the Rancid-discuss mailing list