On our ESX 3.0.1 hosts, I have created a user named "admin" that is part of the following groups:
users, root, bin, daemon, adm, disk, wheel
I created it in Virtualcenter directly logged into the client. When I SSH in using putty, some have root access and others do not. I tried to get in remote the other day to grow some .vmdk files and I couldn't even run VMKFSTOOLS logged in as admin.
Am I missing something? Is there an easier way to create an all powerful user?
To get around it, once you have your SSH connection you can run su -l to login as root.
To get around it, once you have your SSH connection you can run su -l to login as root.
you have to run vmkfstools as root
Just log with the admin user and do "su -" command it will ask for the root password and you will have the superuser rights.
It's more secure than alowing root login directly.
To exit you have to logout twice...
Regards
Jon
Message was edited by:
jonathanp
Sorry I couldn't give you all "correct" points but THANK YOU for your quick responses.
What are the commands for the service console to create a new user and give them all rights?
As oreeh mentions it's not the best from a security view point, but you can use the command usermod to set the user ID to 0.
http://www.vmware.com/community/thread.jspa?messageID=544946򅂲
Oh excuse me, I meant more of just a service account that I can login into SSH with. Doesn't need ROOT privs but enough to get in and do misc tasks.