cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2034
Views
0
Helpful
2
Replies

Nx-os 9.2.3 Problem adding user to network-admin role

xlntech1
Level 1
Level 1

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.

2 Replies 2

I get the same problem, I don't have yet a solution.

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.

Captura de tela 2025-05-07 203925.png