Management Agent installation fails because of wrong value of the visiblepw parameter in the sudoers file.
RELATED

EM 13C AGENT DEPLOYMENT FAILS BECAUSE THE USER ORACLE DOES NOT HAVE THE PRIVILEGES TO RUN COMMANDS AS USER ROOT
EM 13C AGENT DEPLOYMENT FAILS ON REDHAT/OEL 7.X TARGET HOSTS

SYMPTOMS

EM 13c agent deployment crashes on the remote prerequisite checks

OMS Agent Installation Fails Because Of VISIBLEPW parameter in /etc/sudoers file

The error stack is

Prerequisite Check Name:
    Do you have the privileges to run as root using the Privilege Delegation tool?
    
Status:
    Warning
    
Error:
   The "visiblepw" is not set the sudoers file and as a result, the user will not be able to run sudo over ssh.
    
Recommendation:
    You can either set the "oracle.sysman.prov.agentpush.enablePty" property to true in the 
    "*/agentpush.properties" file, which is present on the OMS host, pass -S argument to the sudo command, 
    or enable the "visiblepw" flag in the sudoers file.

    You can also ignore this warning and continue in which case the root.sh, any preinstallation or
    postinstallation scripts specified with run as root enabled will not be run and you have to run 
    them manually after installation.
SOLUTION

Modify the /etc/sudoers file as shown below and retry an agent deployment

## Before 
[oracle@dbpilot ~] egrep visible /etc/sudoers
Defaults   !visiblepw

## Backup the sudoers file 
[oracle@dbpilot ~] cp /etc/sudoers /etc/sudoers.orig.$(date +%d%b%y_%H%M%S)

## After
[oracle@dbpilot ~] egrep visible /etc/sudoers
Defaults   visiblepw
NOTE

When EM 13c agent is deployed successfully, restore the original /etc/sudoers file.

Written At
19 FEB 201910:30
Red Hat Release
7.x x64
Enterprise Manager
13.1.0.0.0 - 13.3.0.0.0