<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000099">
<br>
On 01/23/2012 07:51 PM, heasley wrote:
<blockquote cite="mid:20120123185128.GH84593@shrubbery.net"
type="cite">
<pre wrap="">Mon, Jan 23, 2012 at 07:18:07PM +0100, Paolo De Michele:
</pre>
<blockquote type="cite">
<pre wrap="">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
</pre>
</blockquote>
<pre wrap="">see the cloginrc(5) manpage for dealing with special characters, the
format of userpassword and enauser and autoenable.</pre>
</blockquote>
<br>
now, my .cloginrc is:<br>
<br>
add method * {ssh}<br>
add user * {-------------}<br>
add userpassword * {Pxxxxxxxxxx3xxxxx@} <br>
add passprompt {"L-----------------c3------"}<br>
<br>
from console:<br>
<br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:xxxxxxxxxx@10.x.x.x">xxxxxxxxxx@10.x.x.x</a>'s
password: <br>
<br>
cxxxxxx>enable<br>
Password: <br>
Password: <br>
Password: <br>
% Bad secrets<br>
<br>
I am sure that the enable password I put is correct, but I don't
understand where I'm wrong syntax<br>
<blockquote cite="mid:20120123185128.GH84593@shrubbery.net"
type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap=""> - 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
</pre>
</blockquote>
<blockquote type="cite">
<pre wrap="">_______________________________________________
Rancid-discuss mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a>
</pre>
</blockquote>
</blockquote>
</body>
</html>