How to Disable the Ubuntu ‘Sssd-kcm’ Service

The Enterprise Authentication Cache

The System Security Services Daemon (SSSD) is a suite of tools in Ubuntu used to connect a local Linux machine to centralized enterprise authentication directories (like Microsoft Active Directory or FreeIPA). Within this suite is a specific component called sssd-kcm.service (Kerberos Cache Manager). This daemon runs in the background and manages Kerberos credential caches, allowing users to authenticate against network resources without repeatedly typing their passwords.

While absolutely critical for a corporate laptop joined to an Active Directory domain, sssd-kcm is entirely useless on a standalone, personal Ubuntu server or a home desktop that only uses local user accounts (configured in /etc/passwd). If your machine is not part of a Kerberos realm, this daemon simply consumes memory and adds background noise while waiting for network tickets that will never arrive. Disabling it optimizes your standalone system.

How to Disable the SSSD Kerberos Cache

You can stop the caching daemon using systemctl.

Warning: Do not do this if your Ubuntu machine is joined to an enterprise network or relies on LDAP/Kerberos for user logins.

  1. Open your Ubuntu Terminal or connect via SSH.
  2. First, stop the socket that activates the daemon:
sudo systemctl stop sssd-kcm.socket
  1. Next, stop the service itself:
sudo systemctl stop sssd-kcm.service
  1. Finally, disable both to prevent them from starting on boot:
sudo systemctl disable sssd-kcm.socket
sudo systemctl disable sssd-kcm.service

The Kerberos cache manager is now disabled. Your standalone Ubuntu machine will continue to authenticate local users normally, without wasting resources on enterprise networking daemons.

Get the best tech tips delivered straight to your inbox.

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