The SharingPreferences control verifies that remote access and file sharing services are disabled on your computer. These services allow other devices to connect to and control your computer over the network.
Important: While sharing services can be convenient, they create security risks by opening network ports and allowing remote connections to your device. If enabled, attackers on the same network (or even the internet) can attempt to exploit these services to gain unauthorized access to your computer, view your files, or control your system remotely. Most users don't need these services enabled for their daily work.
Every enabled sharing service is a potential entry point for attackers. Disabling unnecessary services reduces the number of ways an attacker can compromise your device.
Sharing services can be exploited to gain remote access to your computer, allowing attackers to steal files, install malware, or monitor your activities.
On public or untrusted networks, enabled sharing services advertise your device to everyone nearby, making you an easy target for network-based attacks.
Disable whichever of these are active and not required:
sudo systemctl disable --now smbd nmbd samba # SMB file sharing
sudo systemctl disable --now nfs-kernel-server nfs-server # NFS file sharing
sudo systemctl disable --now xrdp # RDP remote desktop
sudo systemctl disable --now cockpit.socket # Cockpit remote management
# VNC servers vary by desktop; e.g.:
sudo systemctl disable --now vncserver@:1.service
sshd is often intentional on Linux machines used for remote administration — leaving it enabled is fine if that's how you access this machinesudo systemctl disable --now ssh (Debian/Ubuntu) or sudo systemctl disable --now sshd (Fedora/RHEL)After disabling sharing services, Citadel will automatically verify this control during its next check.
Tip: A quick way to check is to look for any services with a green dot or "On" indicator.
systemctl is-active smbd nmbd samba nfs-kernel-server nfs-server xrdp cockpit.socket ssh sshd
Each should report inactive unless you intentionally rely on it (e.g. SSH for remote administration).