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