Use package commands to uninstall the DCS Unix agent
Release : DCS 6.7x-6.10.x
Component : Unix Agent
For full removal of the Linux 6.9.2 Agent or higher you must use the uninstall.sh script below:
Location: /usr/lib/symantec/uninstall.sh
sh uninstall.sh --uninstall ALL
Please don't use rpm -e as there are several more components with the 6.9.2 (and later) DCS agent
The agent prevents you from installing and removing agent-related files if it is enforcing a restrictive prevention policy. If the Solaris or Linux agent is not communicating with Unified Management Console, disable the agent using the instructions found here: Disabling or enabling Solaris agents or Disabling or enabling Linux agents then continue with the uninstall.
pkgrm SYMCsdcss
init 6
apt-get remove --purge sdcss-scripts
apt-get remove --purge sdcss-kmod
apt-get remove --purge sdcss
init 6
rpm -e sdcss-scripts
rpm -e sdcss-kmod
rpm -e sdcss
init 6
rpm-ostree uninstall sdcss-kmod-<kmod_version>.el7.x86_64 sdcss-<agent_version>.el7.x86_64
rm -rf /opt/Symantec/sdcssagent /var/lib/sdcss /var/log/sdcsslog /etc/sisips
rpm -e sdcss
shutdown -Fr now
NOTE: When you uninstall an agent, Data Center Security: Server Advanced, by default, collects agent logs.
If you do not want DCS to collect agent information, create the file: /etc/sisips/NoAgentInfo before uninstalling the agent.