07-28-2020 06:56 AM
Having a little trouble creating an admin user on one of two Nexus9k's running nx-os 9.2.3. Works fine on one and not the other. I've compared the configs and don't see any difference related to this.
When I type the following: username newadminname password 0 <unencrypted string> role network-admin I end up with two different problems:
Problem1 is that the password doesn't actually get set. When I do a 'sh run |grep username' it shows the new admin user but the password is just a "!". If I use an encrypted password string (password 5 <encrypted string>) it accepts/sets the password. If I then login as that new user and do a 'change-password' it prompts me to set the new PW and seems to work but doesn't actually change the pw. I still have to login using the original password I specified in the first command (with the encrypted version, clear-text entry never works).
Problem2 is that it always assigns the user to the network-operators role. Nothing I do changes it to network-admin role. If I type: sh user-account newadminname it shows only the network-operator role. If I create a new role that has all privileges: "role name test; rule 1 permit read-write" and then assign the user to the role, it works and show user-account shows both netop and test roles. However, if I try to add the new user to the network-admin role it accepts the command but never shows that the user is a member of the role.
The second switch is fine. Copy/paste the same commands to the first switch that work on the second doesn't resolve issue.
04-15-2025 08:06 AM
I get the same problem, I don't have yet a solution.
05-07-2025 04:45 PM
Hi everyone,
We have upgraded the switch software to version NXOS: version 10.3(6) and the issua was solved.
After that we can create a user as network-admin role.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide