Tino Thanks. Regards, Anil. ---- On Wed, 23 May 2012 04:53:20 -0700 Tino Vazquez <[email protected]> wrote ----
Dear Anil, I've updated the documentation with your suggestions, thanks a lot!! They make a lot of sense. I've also added that this is only needed for ESX < 5.0, since the ESX that come after do not have "sudo". Thanks again, -Tino -- Constantino Vázquez Blanco, MSc Project Engineer OpenNebula - The Open-Source Solution for Data Center Virtualization www.OpenNebula.org | @tinova79 | @OpenNebula On Mon, Apr 30, 2012 at 7:41 PM, cloud.b.lab <[email protected]> wrote: > > Hi, > > Suggesting to add, little bit more details to the section in the OpenNebula > 3.4 Documentation as given below, > Document URL : http://www.opennebula.org/documentation:rel3.4:evmwareg > Title : VMware Drivers 3.4 > Section : VMware Configuration -Users and Groups > 1) Portion requiring update while using ESX [and not ESXi]as the host: > > The access via SSH needs to be passwordless. Please follow the next steps to > configure the ESX node: > > login to the esx host (ssh <esx-host>) > become root (su) > $ sudo chmod +w /etc/sudoers > $ sudo vi /etc/sudoers > sudo chmod -w /etc/sudoers > > Reason : > After becoming root (su) and adding +w permission to /etc/sudoers , next > line "$ sudo vi /etc/sudoers" , should not required "sudo" prefix, Instead > just have "vi /etc/sudoers". > sudo vi /etc/sudoers, throws error message "sudo: /etc/sudoers is mode > 0640, should be 0440". Where as just a "vi /etc/sudoers", opens the file for > editing. > Same applies to the next line sudo chmod -w /etc/sudoers too. sudo is not > required here. > > 2) Additional information, may help new users: > > add oneadmin to /etc/sudoers of ESX server by adding following line, so as > to eliminate the "password" prompting while the > "/var/lib/one/var/remotes/tm/vmware/clone" process issues a “ssh <ESX > hostname> sudo <command>” > > oneadmin ALL=(ALL) NOPASSWD: ALL > > > Regards, > Anil Kumar A.N. > [cloud-b-lab] > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
