<!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;'><br><blockquote style="border-left: 1px solid #0000FF; padding-left: 6px;"><div><div style="font-size:10pt;font-family:verdana,arial,helvetica,sans-serif;">Hi,<br><br>Suggesting to add, little bit more details to the section in the OpenNebula 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><span style="font-weight: bold;">1) Portion requiring update while using ESX [and not ESXi]as the host:</span><br><p> <span style="color: rgb(204, 0, 0);">The access via </span><acronym style="color: rgb(204, 0, 0);" title="Secure Shell">SSH</acronym><span style="color: rgb(204, 0, 0);"> needs to be passwordless. Please follow the next steps to configure the ESX node:  </span></p> <ul style="color: rgb(204, 0, 0);"><li class="level1"><div class="li"> login to the esx host (ssh <esx-host>) </div> </li><li class="level1"><div class="li"> become root (su)</div> </li><li class="level1"><div class="li"> $ sudo chmod +w /etc/sudoers</div></li><li class="level1">$ sudo vi /etc/sudoers</li><li class="level1">sudo chmod -w /etc/sudoers</li></ul><span style="font-weight: bold;">Reason :</span><br>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".<br>sudo  vi /etc/sudoers, throws error message <span style="font-style: italic; color: rgb(255, 0, 0);">"sudo: /etc/sudoers is mode 0640, should be 0440"</span>. Where as just a "vi /etc/sudoers", opens the file for editing.<br>Same applies to the next line  sudo chmod -w /etc/sudoers too. sudo is not required here.<br><br><span style="font-weight: bold;">2) Additional information, may help new users:</span><br><br> <ul><li><p style="margin-bottom: 0in; font-style: normal; font-weight: normal" align="JUSTIFY">  <font size="2">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  “<span style="font-style: italic;">ssh <ESX hostname> </span><span style="font-weight: bold; font-style: italic;">sudo</span><span style="font-style: italic;"> <command></span>”  <br></font></p>  <p style="margin-bottom: 0in; font-style: normal; font-weight: normal" align="JUSTIFY">       <font size="2">oneadmin  ALL=(ALL)       NOPASSWD: ALL</font></p> </li></ul> <br>Regards,<br>Anil Kumar A.N.<br>[cloud-b-lab]<br></div></div></blockquote><br></div></body></html>