How to Disable the Ubuntu ‘Sssd-dbus’ Service

The Desktop Bus Listener

The System Security Services Daemon (SSSD) in Ubuntu provides a robust way to link local Linux machines to enterprise directories like Active Directory. Under the hood, SSSD is composed of several smaller, specialized daemons. One of these is the sssd-dbus.service. This specific service is designed to listen on the system D-Bus (Desktop Bus) for configuration changes or status queries issued by graphical desktop environments or higher-level management tools.

If you are running a GUI-less, headless Ubuntu Server in a production environment, you are almost certainly configuring SSSD directly via the /etc/sssd/sssd.conf text file, and you restart the daemon manually via systemd when you make changes. Because a headless server lacks a graphical desktop environment that would attempt to communicate with SSSD via D-Bus, this specific responder daemon is sitting idle, consuming a tiny amount of RAM for no reason. It is best practice to disable unused services.

How to Disable the SSSD D-Bus Service

You can stop this inter-process communication module using systemctl.

Warning: Ensure you are operating on a headless server. If you are using a desktop GUI that relies on D-Bus to manage identity settings, do not disable this.

  1. Open your Ubuntu Terminal or connect via SSH.
  2. First, stop the active socket if it is listening:
sudo systemctl stop sssd-dbus.socket
  1. Stop the daemon itself:
sudo systemctl stop sssd-dbus.service
  1. Disable both so they do not start automatically upon the next system boot:
sudo systemctl disable sssd-dbus.socket
sudo systemctl disable sssd-dbus.service

Your SSSD installation will continue to function perfectly, pulling identities from Active Directory or LDAP, but it will no longer waste resources listening for configuration commands from a non-existent graphical desktop.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.