By default, VMware vCenter Converter Standalone requires a root login to the source machine for Linux conversion tasks. However, you can also use non-root credentials after enabling the use of sudo and modifying the source machine to allow the sudo
command to be executed.
1. Enable the use of sudo during conversion of Linux source machines.
converter-agent.xml
and converter-worker.xml files in the following locations:
%ALLUSERSPROFILE%\Application Data\VMware\VMware vCenter Converter Standalone\ or C:\ProgramData\VMware\VMware vCenter Converter Standalone
converter-agent.xml
file in a text editor and change the useSudo
flag from false
to true
.converter-
worker.xml file in a text editor and change the useSudo
flag from false
to true
.2. Set up the source machine to allow the sudo command to be executed without prompting for a password, and without requiring a real tty, for example:
/etc/sudoers
to replace username with the non-root user's name:
username ALL=(ALL) NOPASSWD: ALL
/etc/sudoers
file:
Defaults requiretty
In case the file contains this entry, comment it out.
Note: The sudoers
configuration might vary by system. For Ubuntu operating systems further configuration is needed. Target the specific user you are using and assign it user id 0/group 0. Ensure that you also enable Allow root to ssh even though you are not using the root account.