Go to main content

Oracle® Advanced Services Gateway Security Guide

Exit Print View

Updated: December 2025
 
 

Linux 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, \
                /opt/exalytics/asr/bda_mon_hw_asr.pl, \
                /usr/bin/passwd, /usr/sbin/groupadd, \
                /usr/sbin/useradd, /usr/sbin/usermod, \
                /usr/bin/ipmitool, /usr/bin/ipmitool, /usr/bin/xenstore-list, \
                /opt/oracle/oak/oakcli, /usr/sbin/dmidecode, \
                /opt/exalytics/asr/bda_mon_hw_asr.pl, \
                <ServiceEMBase>/agent_home/core/<version>/root.sh,\
                <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, \
                /opt/oracle/bda/bin/imageinfo, \
                /usr/bin/exachk, \
                /opt/oracle.ahf/exachk/exachk, \
                /usr/local/bin/imageinfo, \
                /opt/oracle/bda/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, \
				/EXAVMIMAGES/install_ahf_no_cfg.sh, \
				<ServiceEMBase>/install_ahf_no_cfg.sh, \
				<ServiceEMBase>/agent_home/core//root.sh,\
				<ServiceEMBase>/agent_home/agent_/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.