Discussion:
[rancid] Cisco 3524 PWRXL - Login without username
Gerhard Mourani
2013-01-04 20:37:39 UTC
Permalink
Hello List,

I'm having problem with Rancid 2.3.8 on Linux and old Cisco IOS 12.0 3524 PWRXL on which no username is defined. Therefore for login into the switch I just telnet the IP and enter the password. For this, here my configuration inside .cloginrc file:

add password 1.2.3.4 passwd enablepasswd
add method 1.2.3.4 telnet


bash-4.2$ clogin -f /usr/share/rancid/.cloginrc 1.2.3.4
1.2.3.4
spawn telnet 1.2.3.4
Trying 1.2.3.4...
Connected to 1.2.3.4.
Escape character is '^]'.
******************************************************************
******************************************************************
Private Equipement
Acces denied without permission
******************************************************************
******************************************************************

User Access Verification

Password:
Error: Check your passwd for 1.2.3.4

The above fail because Rancid expect a username before continuing. How to make my configuration work without having to define a username (add user .....)?

Gerhard,
heasley
2013-01-04 20:41:02 UTC
Permalink
Post by Gerhard Mourani
Hello List,
add password 1.2.3.4 passwd enablepasswd
add method 1.2.3.4 telnet
bash-4.2$ clogin -f /usr/share/rancid/.cloginrc 1.2.3.4
1.2.3.4
spawn telnet 1.2.3.4
Trying 1.2.3.4...
Connected to 1.2.3.4.
Escape character is '^]'.
******************************************************************
******************************************************************
Private Equipement
Acces denied without permission
^^^^^^ get rid of that or change it to 'not permitted' or similar.
Post by Gerhard Mourani
******************************************************************
******************************************************************
User Access Verification
Error: Check your passwd for 1.2.3.4
The above fail because Rancid expect a username before continuing. How to make my configuration work without having to define a username (add user .....)?
Gerhard,
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Gerhard Mourani
2013-01-04 21:02:06 UTC
Permalink
Big thanks, it works now!

-----Original Message-----
From: heasley [mailto:***@shrubbery.net]
Sent: January-04-13 3:41 PM
To: Gerhard Mourani
Cc: rancid-***@shrubbery.net
Subject: Re: [rancid] Cisco 3524 PWRXL - Login without username
Post by Gerhard Mourani
Hello List,
add password 1.2.3.4 passwd enablepasswd
add method 1.2.3.4 telnet
bash-4.2$ clogin -f /usr/share/rancid/.cloginrc 1.2.3.4
1.2.3.4
spawn telnet 1.2.3.4
Trying 1.2.3.4...
Connected to 1.2.3.4.
Escape character is '^]'.
******************************************************************
******************************************************************
Private Equipement
Acces denied without permission
^^^^^^ get rid of that or change it to 'not permitted' or similar.
Post by Gerhard Mourani
******************************************************************
******************************************************************
User Access Verification
Error: Check your passwd for 1.2.3.4
The above fail because Rancid expect a username before continuing. How to make my configuration work without having to define a username (add user .....)?
Gerhard,
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Loading...