kadmind command not found

In this troubleshooting guide we learn how to fix kadmind command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

kadmind: command not found

or when using sudo you get the following error message

sudo: kadmind: command not found

Solutions to kadmind: command not found

How To Fix kadmind: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu kadmind is provided by krb5-admin-server package.

krb5-admin-server is:

Kerberos is a system for authenticating users and services on a network. Kerberos is a trusted third-party service. That means that there is a third party (the Kerberos server) that is trusted by all the entities on the network (users and services, usually called “principals”).

This is the MIT reference implementation of Kerberos V5.

This package contains the Kerberos master server (kadmind), which handles account creations and deletions, password changes, and other administrative commands via the Kerberos admin protocol. It also contains the command used by the master KDC to propagate its database to slave KDCs. This package is generally only used on the master KDC for a Kerberos realm.

To fix this problem, we can install more using the command below.

sudo apt-get -y install krb5-admin-server

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install krb5-admin-server.

sudo apt -y install krb5-admin-server

Or if you have aptitude installed you can use the following command.

sudo aptitude install krb5-admin-server

Summary

In this tutorial we learn how to fix kadmind command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.