Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

user could not log onto the ESXi because of the permission

Posted on 2012-04-03
18
Medium Priority
?
2,302 Views
Last Modified: 2012-05-01
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
Comment
Question by:dongocdung
  • 7
  • 6
  • 3
  • +2
18 Comments
 
LVL 9

Expert Comment

by:Geodash
ID: 37801688
Are you using AD authentication?
0
 
LVL 40

Assisted Solution

by:coolsport00
coolsport00 earned 1400 total points
ID: 37801690
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
 
LVL 124

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 600 total points
ID: 37801697
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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 40

Assisted Solution

by:coolsport00
coolsport00 earned 1400 total points
ID: 37801740
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
 

Author Comment

by:dongocdung
ID: 37801821
I assigned the root permission to this user but he could not log in. This ESXi is not connected to the network yet.
0
 
LVL 40

Assisted Solution

by:coolsport00
coolsport00 earned 1400 total points
ID: 37801830
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
 

Author Comment

by:dongocdung
ID: 37802265
I get into the Configuration tab, but I don't know where I can set the IP Address.
0
 
LVL 40

Assisted Solution

by:coolsport00
coolsport00 earned 1400 total points
ID: 37802288
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
 

Author Comment

by:dongocdung
ID: 37802347
I see the VmKernel has IP address already.
0
 
LVL 124

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 600 total points
ID: 37802363
Check Management Network IP Address
0
 
LVL 40

Assisted Solution

by:coolsport00
coolsport00 earned 1400 total points
ID: 37802372
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
 

Author Comment

by:dongocdung
ID: 37802701
What do I do now?
Thanks,
0
 
LVL 40

Assisted Solution

by:coolsport00
coolsport00 earned 1400 total points
ID: 37802715
Have your user use that IP in his/her vSphere Client to try and log into the Host...
0
 

Author Comment

by:dongocdung
ID: 37802814
Yes, he did but got the permission error above.
0
 
LVL 124

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 600 total points
ID: 37802829
did you assign permissions to server object?
0
 
LVL 40

Accepted Solution

by:
coolsport00 earned 1400 total points
ID: 37802973
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
 

Author Comment

by:dongocdung
ID: 37812948
I granted him a "root level" to a host but he could not log on to the host using the v Sphere client.
0
 

Expert Comment

by:dainjah
ID: 37855566
Post your screenshots. You must have done something wrong that can't be explained using text-mode only.
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question