ciscoPWDhasher icon indicating copy to clipboard operation
ciscoPWDhasher copied to clipboard

Doesn't work in C2960X

Open fgozdev opened this issue 2 years ago • 1 comments

I have tried this C2960X and even when the hash is created fine the SW doesn't accepts it as valid.

Cisco-2960X(config)#username test privilege 15 secret 5 $1$Oh9i$VEEjjTMjnWVl18hXNoNjR. ERROR: The secret you entered is not a valid encrypted secret. To enter an UNENCRYPTED secret, do not specify type 5 encryption. When you properly enter an UNENCRYPTED secret, it will be encrypted.

Is there something on the switch configuration that could make it work for you and not for me? I cannot think of anything in particular.

Thanks

fgozdev avatar Jun 13 '22 21:06 fgozdev

I have just tested on a 2960x, specifically hardware cisco WS-C2960X-48FPD-L and had no issue

2960xswitch(config)#username test privilege 15 secret 5 $1$Oh9i$VEEjjTMjnWVl18hXNoNjR.
 WARNING: Command has been added to the configuration using a type 5 password. However, type 5 passwords will soon be deprecated. Migrate to strong password type
2960xswitch(config)#

What hardware type and software version are you running? providing the output of show version will help.

2960xswitch#show ver

~ Output Truncated ~

Switch Ports Model                     SW Version            SW Image
------ ----- -----                     ----------            ----------
*    1 54    WS-C2960X-48FPD-L         15.2(7)E5             C2960X-UNIVERSALK9-M

2960xswitch#

superadm1n avatar Dec 29 '22 19:12 superadm1n