• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Adding User to Cisco Switch

Carlosinfl

Loves the juice
Joined
Sep 25, 2002
Messages
6,633
I have a Cisco Catalyst 2960G switch and I am trying to add a new user for system administration in the IOS. I am logged into the switch via enable mode and in 'config terminal' mode and run the following command:

Code:
2960G(config)#username bill privilege 15 password 7 password12345

Invalid encrypted password: password12345

Anyone know what I am doing wrong?
 
Yea, you're using 7, which is saying you are entering an encrypted password, which you aren't. Do bill privilege 15 password 0 password12345, that should work.
 
It shows that zero would be plain text so when I do a 'show running config' does that mean the password we just entered will be presented in plain text?
 
It might or it might not. If it does, just do a "service password-encryption" in global config mode.

Cheers
 
Ah it does show up encrypted. Thanks!

Code:
username bill privilege 15 password 7 044837r69378644B1A4857
 
*sigh*...s\`ü9Hes12

All you guys giving advice failed to mention that you were showing him how to use weak password hashing schemes. That's not helping anybody.

Protip:
(config)#username bill privilege 15 secret password12345
 
Back
Top