Discussion:
[rancid] - problem with enable password router
Paolo De Michele
2012-02-29 19:44:45 UTC
Permalink
hi list,

I have a problem with the enable password.
I show you a few tests:

my .cloginrc:

add user * administrator
add password * password

the authentication is failed:
try ./clogin 192.168.30.1


ser Access Verification

Username: administrator
Password:
% Login invalid

Username: administrator
Password:
% Login invalid

Username: administrator
Password:
% Login invalid

Error: Invalid login: 192.168.30.1

I'm sure the password is correct

If I change the password authentication happens correctly *userpassword

*add user * administrator
add *user*password * password

./clogin 192.168.30.1User Access Verification

Username: administrator
Password:
Router>enable
Password:
Password:
Password:
% Bad secrets

Router>


How do I set a password to enable? I state that is different from the
one I used for administrator
thanks in advance
Russell Kaiser
2012-02-29 20:30:00 UTC
Permalink
Hello,

Put both passwords in the "add password" separated by a space. If
there is a special character, especially a $ in the password, then you
may need to escape it with a \ in front of it.

add user * administrator
add password * userpass enablepass

You may also want:

add autoenable * 0
--
Russell Kaiser
Post by Paolo De Michele
hi list,
I have a problem with the enable password.
add user * administrator
add password * password
try ./clogin 192.168.30.1
ser Access Verification
Username: administrator
% Login invalid
Username: administrator
% Login invalid
Username: administrator
% Login invalid
Error: Invalid login: 192.168.30.1
I'm sure the password is correct
If I change the password authentication happens correctly userpassword
add user * administrator
add userpassword * password
./clogin 192.168.30.1User Access Verification
Username: administrator
Router>enable
% Bad secrets
Router>
How do I set a password to enable? I state that is different from the one I
used for administrator
thanks in advance
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Paolo De Michele
2012-02-29 22:30:24 UTC
Permalink
hello Russell,

looking at what I've written you I did so:

add user * administrator
add password * p\@ssword Passw0rd

try ./clogin 192.168.30.1
User Access Verification

Username: administrator
Password:
% Login invalid

Username: administrator
Password:
% Login invalid

Username: administrator
Password:
% Login invalid

Error: Invalid login: 192.168.30.1
Post by Russell Kaiser
Hello,
Put both passwords in the "add password" separated by a space. If
there is a special character, especially a $ in the password, then you
may need to escape it with a \ in front of it.
add user * administrator
add password * userpass enablepass
add autoenable * 0
Paolo De Michele
2012-02-29 22:48:09 UTC
Permalink
hi heasley,
Post by Paolo De Michele
hello Russell,
add user * administrator
I replaced the string as you indicated you but I always get the same error:

User Access Verification

Username: administrator
Password:
% Login invalid

Username: administrator
Password:
% Login invalid

Username: administrator
Password:
% Login invalid

Error: Invalid login: 192.168.30.1

Continue reading on narkive:
Loading...