The user does not have the privileges to run commands as user “root” using the Privilege Delegation tool “/usr/bin/sudo”

While installing agent in target host for oracle enterprise manager 13c, following error is observed 

“The user  does not have the privileges to run commands as user “root” using the Privilege Delegation tool “/usr/bin/sudo” 

Solution:-

1. Ignore this warning and proceed with installation. Execute <agent Oracle Home>/root.sh manually after logging in as root.

OR

Ensure the sudo privileges for <AGENT_INSTALL_USER> to execute the command set in sudoers file.

a. Enable Sudo user setup on target host without password.

    As root user login to the target server:

# visudo
Locate the following line in the file mentioned
root    ALL=(ALL)       ALL


Add the following line below the line mentioned .Here r12devdb is the user that would be used to connect the server and continue with the installation.


r12devdb  ALL=(ALL)       ALL

2. Continue installation in console.


Categories

Leave a Reply

Your email address will not be published. Required fields are marked *