[sudo-users] Add sudo to ESXi 5.1

phoebus phoebus frphoebus at yahoo.fr
Thu Dec 5 03:53:11 MST 2013


I have a requirement to install sudo to vSphere ESXi 5.1(ESXi 5.1.0 GA , 2012-09-10,799733).
I know that previous version VMware ESX was derived from Unix but new version ESXi 5.x the VMKernel is proprietary code. I have the GNU C Library 'libc.so' in both 32bit (in /lib) and 64bit (in /lib64) and also the shared library named 'ld-linux.so'. SO it will be possible to add sudo to ESXI 5.1.

The first approach was to use a precompiled sudo version:
I used the one from Centos 6 64 bits (sudo-1.8.6p3-12.el6) and also this one for Centos 5 64 bits (sudo-1.7.2p1-28.el5).

I populated for both cases all the libraries dependencies.
sudo -V (sudo-1.8) => /usr/bin/sudo: line1: syntax error : unexpected "("
sudo -V (sudo-1.72.2) => Segmentation fault 

It seems to use Centos 5 will be the base to progress. 

Do you have another idea to progress?

Of course, i can describe all task done if necessary.

I can use also cross compiling and use source available for Vsphere 5.0 (Opensource) but i not an experienced Linux software developer to progress  on this way.

Thanks for any advices.

More information about the sudo-users mailing list