PowerFlex 4.X: How to Change ESXi Host and vCenter Root and Admin Passwords
Summary: This article details three ways to change the ESXi host root password; by vSphere Client, ESXi shell, or System Customization. The article also details how to update the vCenter admin passwords. ...
Instructions
Changing a VMware ESXi host root password
For security reasons, it might be necessary to change the password for the root user on a VMware ESXi host after installation. Use any of the following methods to change the root password for the VMware ESXi host:
-
- VMware vSphere Client
- VMware ESXi shell command
- VMware ESXi host System Customization menu
Change the password using VMware vSphere Client.
PrerequisitesLog in to the host UI
https://esxi_IP_address using root credentials.
Steps
- In the left pane, under Host, click Manage.
- Select the Security & Users tab, click Users, and click the root user.
- Click Edit User.
- In the Edit User dialog box, enter and confirm a new password.
- Click Save.
Change the password using the VMware ESXi shell command.
Prerequisites
Log in to the VMware ESXi host service console as root user.
Steps
- When prompted, enter the current password.
- Change the root password, enter: passwd root.
- Enter the new root password and press Enter.
- Verify the password by entering it again.
Change the password using VMware ESXi host system customization.
Prerequisites
Log in to the VMware ESXi host service console as root user. You can also acquire root privileges by running the su command.
Steps
- From the System Customization menu of the VMware ESXi host, use the keyboard arrows to select Configure Password and press Enter.
- In the Configure Password dialog box, enter the required fields to change the password:
- Enter the Old Password of the VMware ESXi host.
- Enter the new root password in the New Password field. Retype it in the Confirm Password field.
- Press Enter.
Modify the VMware vCenter Server single sign-on default administrator password.
Use this procedure to change the default password for the VMware vCenter single sign-on administrator account.
Prerequisites
Log in to the VMware vSphere Client and connect to vCenter.
Steps
- In the left pane, select Administration.
- Under Single Sign-on, select Users and Groups. The admin user displays in the right pane.
- On the Users tab, select the domain from the drop-down menu, and select the administrator user. Click Edit.
- Set and confirm the password for the admin user account. Ensure to use a strong password as the system validates the password before accepting it.
- Click Save.
Change the administrator password for VMware vCenter Server Appliance.
Use this procedure to change the VMware vCenter Server Appliance administrator password.
Prerequisites
Log in to the VMware vCenter Server Appliance Web console.
Steps
- On the Admin tab, enter your current password in the Current administrator password box.
- Enter the new password in the New administrator password and Retype the new administrator password boxes.
- Click Change the password.
Additional Information
For Administration Guide, see Dell PowerFlex Appliance with PowerFlex 4.x Administration Guide