?
Solved

user could not log onto the ESXi because of the permission

Posted on 2012-04-03
18
Medium Priority
?
2,322 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 125

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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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 125

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 125

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

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

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: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
Suggested Courses

612 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