sudo Profile

For Linux users, add the following entries to the sudoers file:

Cmnd_Alias ACSSINSTALL = /bin/chmod, /bin/chown, \
                      /bin/chgrp, /bin/cp, /bin/ex, /usr/bin/unzip, \
                      /bin/grep, /bin/ls, /bin/mkdir, /bin/rmdir, \
                      /usr/bin/passwd, /usr/sbin/groupadd, \
                      /usr/sbin/useradd, /usr/sbin/usermod, \
                      /usr/bin/ipmitool, /usr/bin/xenstore-list, \
                      /usr/sbin/dmidecode, \
                      /opt/exalytics/asr/bda_mon_hw_asr.pl, \
                      <ServiceEMBase>/agent_home/agent_<version>/root.sh,\
                      /opt/oracle.cellos/compmon/exadata_mon_hw_asr.pl, \
                      /opt/oracle.cellos/imageinfo, \
                      /opt/oracle/dbserver/dbms/bin/dbmcli, \
                      /usr/sbin/imageinfo, /usr/sbin/xm, \
                      /usr/bin/tfactl, /usr/bin/ahfctl, \
                      /usr/bin/exachk, \
                      /opt/oracle.ahf/exachk/exachk, \
                      /usr/local/bin/imageinfo, \
                      /usr/sbin/pca-admin, \
                      /usr/bin/virsh, \
                      /usr/bin/systemctl enable oracle-oasgagent.service, \
                      /usr/bin/systemctl start oracle-oasgagent.service, \
                      /usr/bin/systemctl stop oracle-oasgagent.service, \
                      /usr/bin/systemctl restart oracle-oasgagent.service, \
                      /usr/bin/systemctl status oracle-oasgagent.service, \
                      /sbin/chkconfig --add oasgagent, \
                      /sbin/chkconfig --on oasgagent, \
                      /sbin/chkconfig --off oasgagent, \
                      /sbin/service oasgagent start, \
                      /sbin/service oasgagent stop, \
                      /sbin/service oasgagent restart, \
                      /sbin/service oasgagent status, \
                      /sbin/service init.tfa start, \
                      /EXAVMIMAGES/install_ahf_no_cfg.sh, \
                      <ServiceEMBase>/install_ahf_no_cfg.sh, \
                      <ServiceEMBase>/agent_home/core/<version>/root.sh,\
                      <ServiceEMBase>/agent_home/agent_<version>/root.sh,\
                      /usr/bin/python3 /tmp/db_compliance_check.py, \
                      /usr/bin/python2 /tmp/db_compliance_check.py

<user> ALL=(ALL) ACSSINSTALL

The user must also have the sudo binary in their path to allow it to execute without a full path.