cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8296
Views
11
Helpful
8
Replies

Unable to enter new users in Nexus 5K

aLeffingwell
Level 1
Level 1

Hey All,

Interestingly enough I've seen about 3-4 posts with the exact same problem and yet not a single one is ever answered..

The task is simple:

"username USER password 5 SOMEPASS role network-admin"

It consistently outputs: "String failed to match token pattern at '^' marker." - always the carat is at the first character in whatever password I input.  I've ensured passwords I input meet the conditions of "password strength-check" and I have also disabled this feature and repeated with numerous passwords to no effect.

Thanks in advance for any insight into this most pesky issue and for aiding me in my NX-OS journey!

Kindest Regards,

ALAN

1 Accepted Solution

Accepted Solutions

Contrary to older IOS switches NX-OS does not use plain text passwords in the config anymore. Once you entered a password it will be immediately hashed and only the hash is stored in the running config:

username USER password Passw0rd!

show run | inc username

username USER password 5 $1$Eih6SrvJ$D.2H2X/YtEYQMj8Ucy3f41  role network-operator


Now imagine you would want to copy this config file to a different switch, including the login credentials. In this case you copy the above line including the "5" and the other switch now understands that "$1$Ei..." is a hash value and not a clear tex