Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2350
  • Last Modified:

user could not log onto the ESXi because of the permission

I just created the new user with root permission. However, he could not log onto the ESXi host using vShpere. He got this error message

The vsphere client could not connect to 10.10.10.40. You do not have permission to login to the server 10.10.10.40.

Please advice me .
Thanks,
0
dongocdung
Asked:
dongocdung
  • 7
  • 6
  • 3
  • +2
10 Solutions
 
GeodashCommented:
Are you using AD authentication?
0
 
coolsport00Commented:
Is that the IP of the host or to vCenter? After you create a User, you have to assign the user "Permission". Click the Permission tab and add that user the permission to log into either the Host or vCenter.

~coolsport00
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Have you also granted permission for this user, to the Server Object in the vSphere Client, just creating a user does not give them access, unless you assign the user permission to the object.

e.g. top of the tree
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
coolsport00Commented:
Click on 'Host' in upper left, then permission tab on right. Then, click the 'whitespace' to 'Add Permission' of this new user.

~coolsport00

Host Permission
0
 
dongocdungAuthor Commented:
I assigned the root permission to this user but he could not log in. This ESXi is not connected to the network yet.
0
 
coolsport00Commented:
If the host can't be 'seen' on the network, but only your workstation, for example,, then no one but you will be able to log in until you get IP settings configured in the Configuration tab.
0
 
dongocdungAuthor Commented:
I get into the Configuration tab, but I don't know where I can set the IP Address.
0
 
coolsport00Commented:
Under Networking in the 'Hardware' box. You'll basically configure a VMkernel port as a "management" network. Or, maybe an easier way to do so is to connect to your host console, the DCUI (direct console user interface) and configure your host IP settings there (pressing F2, then log in with 'root').

~coolsport00
0
 
dongocdungAuthor Commented:
I see the VmKernel has IP address already.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Check Management Network IP Address
0
 
coolsport00Commented:
Ok..if you're using 4.x, it will be a "mgmt" network, whereas if you're using 5.x, it'll be a VMKernel port with "Management"...VMware kinda consolidated things a bit.
0
 
dongocdungAuthor Commented:
What do I do now?
Thanks,
0
 
coolsport00Commented:
Have your user use that IP in his/her vSphere Client to try and log into the Host...
0
 
dongocdungAuthor Commented:
Yes, he did but got the permission error above.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
did you assign permissions to server object?
0
 
coolsport00Commented:
See my screenshot above and how I have the actual host highlighted, then the Permissions tab is accessed on the right. So, if I were to expand my host (virtual01), there would be VMs below it (or Resource Pools and VMs). Those are all what VMware calls "objects" in the object or naviagation tree there on the left side. You can set permissions at any level. And those permissions, when granted on a certain level, are at that level and propagate downward. Since you want this user to have access to your host, you grant it at the host level. If you want to forbid access at any given level below the object where access is granted, you assign the user in question the 'no access' right/permission on a given object.

~coolsport00
0
 
dongocdungAuthor Commented:
I granted him a "root level" to a host but he could not log on to the host using the v Sphere client.
0
 
dainjahCommented:
Post your screenshots. You must have done something wrong that can't be explained using text-mode only.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 7
  • 6
  • 3
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now