You can manage local users, including guest users, through NSX Manager UI. You can activate or deactivate a user account or change its user name and role assignments.
- Activate or deactivate any local user accounts, except for admin.
- Change user role assignments for the two guest users.
- Add a new role, clone an existing role, edit or delete user-created roles. See Create or Manage Custom Roles.
- Reset user passwords. In addition, all local users can reset their own passwords.
- Change the usernames for any of the four user accounts.
The audit and guest users have default read privileges to the NSX-T Data Center environment and are not active by default. Before they can log in to NSX Manager, you must activate them first.
You cannot delete or add any local user accounts. Any change to local user accounts is audited.
By default, user passwords expire after 90 days. You can change or deactivate the password expiration for each user.
When a user logs in to NSX Manager, if the password is set to expire within 30 days, the NSX Manager UI displays a password expiration notification. If you set the password expiration to 30 days or less, the notification is always present. The notification includes a Change Password link. Click the link to change the user's password.
Prerequisites
Familiarize yourself with the password complexity requirements for NSX Manager and NSX Edge. See "NSX Manager Installation" and "NSX Edge Installation" in the NSX-T Data Center Installation Guide.
Procedure
- From your browser, log in as admin to an NSX Manager at https://<nsx-manager-ip-address>.
- Select .
- To activate a user, select the Local Users tab and locate the user name.
- Click .
- Select Activate User.
- Enter a password for the user.
- Click Save.
- To change or reset a user password, select the Local Users tab and locate the user name.
- Click .
- Select Reset Password.
- Enter the password details.
- Click Save.
- (Optional) To edit a user role assignment for guest users, select the User Role Assignment tab and locate the user name.
- Click .
- Select Edit.
- Select the role or roles from the dropdown list. If you want to create a new role, see Create or Manage Custom Roles
- Click Save.
- (Optional) To change a user name, select the Local Users tab and locate the user name.
- Click .
- Select Edit.
- Change the user name.
- Click Save and Continue.
- To deactivate a user, select the Local Users and locate the user name.
- Click .
- Select Deactivate User.
- Click Deactivate.
- To get the password expiration information, from the Local Users tab, expand the row for the user that you want to view.
- (Optional) To change the password expiration settings, log in to the appliance's CLI as admin.
- To set the password expiration time in days, run the set user <username> password-expiration <number of days> command.
nsx> set user admin password-expiration 120 nsx>
- To deactivate password expiration, run the clear user <username> password-expiration
nsx> clear user admin password-expiration nsx>
- To set the password expiration time in days, run the set user <username> password-expiration <number of days> command.