6.5.1
Table Of Contents
- vCenter Server Appliance Configuration
- Contents
- About vCenter Server Appliance Configuration
- Updated Information
- vCenter Server Appliance Overview
- Using the Appliance Management Interface to Configure the vCenter Server Appliance
- Log In to the vCenter Server Appliance Management Interface
- View the vCenter Server Appliance Health Status
- Reboot or Shut Down the vCenter Server Appliance
- Export a Support Bundle
- Enable or Disable SSH and Bash Shell Access
- Configure the DNS, IP Address, and Proxy Settings
- Configure the System Time Zone and Time Synchronization Settings
- Change the Password and Password Expiration Settings of the Root User
- Redirect vCenter Server Appliance Log Files to Another Machine
- Monitor Network Use
- Monitor CPU and Memory Use
- Monitor Database Use
- Using the vSphere Web Client to Configure the vCenter Server Appliance
- Join the vCenter Server Appliance to an Active Directory Domain
- Leave an Active Directory Domain
- Add a User to the SystemConfiguration.BashShellAdministrators Group
- Edit Access Settings to the vCenter Server Appliance
- Edit the DNS and IP Address Settings of the vCenter Server Appliance
- Edit the Firewall Settings of the vCenter Server Appliance
- Edit the Startup Settings of a Service
- Start, Stop, or Restart Services in the vCenter Server Appliance
- View the Health Status of Services and Nodes
- Edit the Settings of Services
- Export a Support Bundle
- Using the Appliance Shell to Configure the vCenter Server Appliance
- Access the Appliance Shell
- Enable and Access the Bash Shell from the Appliance Shell
- Keyboard Shortcuts for Editing Commands
- Get Help About the Plug-Ins and API Commands in the Appliance
- Plug-Ins in the vCenter Server Appliance Shell
- Browse the Log Files By Using the showlog Plug-In
- API Commands in the vCenter Server Appliance Shell
- Configuring SNMP for the vCenter Server Appliance
- Configuring Time Synchronization Settings in the vCenter Server Appliance
- Managing Local User Accounts in the vCenter Server Appliance
- User Roles in the vCenter Server Appliance
- Get a List of the Local User Accounts in the vCenter Server Appliance
- Create a Local User Account in the vCenter Server Appliance
- Update the Password of a Local User in the vCenter Server Appliance
- Update a Local User Account in the vCenter Server Appliance
- Delete a Local User Account in the vCenter Server Appliance
- Monitor Health Status and Statistics in the vCenter Server Appliance
- Using the vimtop Plug-In to Monitor the Resource Use of Services
- Using the Direct Console User Interface to Configure the vCenter Server Appliance
- Log In to the Direct Console User Interface
- Change the Password of the Root User
- Configure the Management Network of the vCenter Server Appliance
- Restart the Management Network of the vCenter Server Appliance
- Enable Access to the Appliance Bash Shell
- Access the Appliance Bash Shell for Troubleshooting
- Export a vCenter Server Support Bundle for Troubleshooting
- Index
You can also set up a new local user account and specify an email and the full name of the user. For
example, to add the local user account test1 with the operator user role, full name TestName and the
email address test1@mymail.com, run the following command:
localaccounts.user.add --role operator --username test1 --password --fullname TestName --
email test1@mymail.com
You cannot use spaces in full names.
3 Enter and conrm the password of the new local user when prompted.
You created a new local user in the appliance.
Update the Password of a Local User in the vCenter Server Appliance
You can update the password of a local user in the vCenter Server Appliance for security reasons.
Procedure
1 Access the appliance shell and log in as a user who has a super administrator role.
The default user with a super administrator role is root.
2 Run the localaccounts.user.password.update --username user name --password command.
For example, to change the password of a user with user name test, run the following command:
localaccounts.user.password.update --username test --password
3 Enter and conrm the new password when prompted.
Update a Local User Account in the vCenter Server Appliance
You can update an existing local user account in the vCenter Server Appliance.
For information about the user roles, see “User Roles in the vCenter Server Appliance,” on page 50.
Procedure
1 Access the appliance shell and log in as a user who has a super administrator role.
The default user with a super administrator role is root.
2 Run the localaccounts.user.set --username command to update an existing local user.
n
To update the role of the local user, run the following command:
localaccounts.user.set --username user name --role new role
Here, user name is the name of the user that you want to edit and new role is the new role. The role
can be operator, admin, or superAdmin.
n
To update the email of the local user, run the following command:
localaccounts.user.set --username user name --email new email address
Here, user name is the name of the user that you want to edit and new email address is the new email
address.
n
To update the full name of the local user, run the following command:
localaccounts.user.set --username user name --fullname new full name
Chapter 4 Using the Appliance Shell to Configure the vCenter Server Appliance
VMware, Inc. 51