How to create local users and Group on Esxi host vCenter Server via GUI and CommandLine

I am trying to create local users and group on Esxi 6.0 and found that i am not getting that option (manage users and groups). why because After upgrading to vSphere 5.1 or later, you cannot create a local user group on the host.

So question arise in my mind is that

How to create local user on ESXi host or vCenter server via command line or GUI.

If you want to create local user from vSphere Client on ESXi host steps are below:

  1. Login into Esxi host via vSphere Client.

2. Right click and click Add.

3. Provide User (like Sandeep or Shaswati) and Name ( like Admin, DCUI user).

4. Your user is created.

Creating User on vCenter Server via Command line

  1. Login into vCenter server via SSH

2. Run this command and your user is ready.

localaccount.user.add –role Administrator –username Sandeep –password (No need to provide here) –fullname Sandeepkaushik –email sandepkaushik@gmail.com

Provide the password and your account is created.


In Appliance 6.0

  1. SSH or Putty to machine vCSA
  2. Log in with a user name root and the root password of vCSA.
  3. Type the command to create a user : useradd username, for example : useradd sandeep
  4. Type the password for that user with the passwd username command , for example : passwd sandeep. 
  5. Once finished, log in to vCenter , select Permissions,  and then configure the user that we just created. Select the desired permissions and then select OK

How to Configure an ESXi host as an NTP client

This Article describes How to Configure an ESXi host as an NTP client.


1. Select your ESXi host in the inventory and click the Configuration tab.
2. In the Software panel, click Time Configuration.
3. View the current settings, which show that the NTP client is stopped and that no NTP server is defined.


4. In the Time Configuration dialog box, perform the following actions.
    Option Action > Date and Time > Record the date and time > NTP Configuration
    Select the NTP Client Enabled check box and click Options.


5.  In General > Select the Start and stop with host check box.

6. In the NTP Daemon Options dialog box, click Add.
    Type the NTP server name or IP address: (Your NTP Server IP) > Click OK to close the Add NTP Server window. Select the Restart NTP service to     apply changes check box and click OK.
7. Click OK to exit the Time Configuration dialog box.
8. Verify that the Time Configuration pane lists the NTP server that you added and that the NTP Client is listed as Running.