8.6. Configuring Virtualization Host sudo
Summary
The Red Hat Enterprise Virtualization Manager uses sudo to perform operations as the root on the host. The default Red Hat Enterprise Linux configuration, stored in /etc/sudoers, contains values that allow this. If this file has been modified since Red Hat Enterprise Linux installation, then these values may have been removed. This procedure verifies that the required entry still exists in the configuration, and adds the required entry if it is not present.
Procedure 8.4. Configuring Virtualization Host sudo
Log in
Log in to the virtualization host as therootuser.Run visudo
Run thevisudocommand to open the/etc/sudoersfile.# visudo
Edit sudoers file
Read the configuration file, and verify that it contains these lines:# Allow root to run any commands anywhere root ALL=(ALL) ALL
If the file does not contain these lines, add them and save the file before exiting.
Result
You have configured sudo to allow use by the root user.