Sophos FAQ and Information for Linux System Administrators

Sophos Intercept X for Linux

How Can I Uninstall Sophos Protection for Linux?

Run the uninstallation script in the terminal with administrative privileges on a Linux device managed by Sophos Central:

 

/opt/sophos-spl/bin/uninstall.sh

 

The script removes the SPL daemons, libraries, log files, plugins, and user-accessible programs from the following directories:

 

/opt/sophos-spl/

 

/usr/lib/systemd/system/

 

/lib/systemd/system/
How Can I Verify That Sophos Protection for Linux (SPL) Was Successfully Installed?

The Sophos website provides instructions on how to verify that Sophos Protection for Linux (SPL) has been successfully installed and is functioning correctly. Sophos

 

I Want to Change the IP Address and/or Hostname of a System Running Sophos Intercept X.

Changing the IP address and/or hostname of a system with Sophos installed does not cause any known issues. In Sophos Central Cloud, a new Sophos ID is only generated for the endpoint if the license type changes, the device is migrated to a different Sophos Central estate, or the system is duplicated (cloned).

The purpose of the Sophos ID is to reliably identify the endpoint, even if its IP address or hostname changes.

Duplicating (Cloning) Systems

Please Observe the Following Instructions When Duplicating (Cloning) Virtual or Physical Systems!

If you use commercial software or freeware to clone hard drives or virtual machines, do not install Sophos Intercept X on the "master system" before cloning. If Sophos is already installed, uninstall it before proceeding.

Cloning a master system with Sophos already installed may result in a second system being registered in Sophos Central Cloud with the same Sophos ID, IP address, and hostname. Any status change on a cloned system could affect the records of both systems in Sophos Central, even though their actual status may differ.

  1. Assign the cloned system a unique hostname and an available IP address from your IP address range (IPAM).
  2. Log in to the cloned system as a local administrator. Change the hostname (FQDN) according to the IPAM configuration. If you use DHCP, verify the DHCP settings on the cloned system. Otherwise, configure a static IP address according to IPAM. Restart the system.

Finally, install Sophos Intercept X on the prepared system.

Sophos recommends creating a gold image. Please follow the instructions provided by Sophos.

Gold Image Linux

Sophos Intercept X Cannot Be Installed

The installation of Sophos Protection for Linux (SPL) fails if the "libcap" package is missing from the system.

Solution: If the installation was unsuccessful or only partially completed, uninstall Sophos (if present) and restart the system.

 

sudo /opt/sophos-spl/bin/./uninstall.sh

 

1. After restarting, run the appropriate command for your Linux distribution to install the required libcap package:

For Debian/Ubuntu:

 

apt install libcap2-bin

 

For RHEL-based distributions:

 

yum install libcap

 

For SLES:

 

zypper install libcap-progs

 

2. Reinstall Sophos.

See also: Sophos