kimpersonate command not found

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

Introduction

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

kimpersonate: command not found

or when using sudo you get the following error message

sudo: kimpersonate: command not found

Solutions to kimpersonate: command not found

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

In Ubuntu kimpersonate is provided by heimdal-clients package.

heimdal-clients is:

Heimdal is a free implementation of Kerberos 5 that aims to be compatible with MIT Kerberos.

This package includes Kerberos utilities like kadmin, kinit, kpasswd and klist.

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

sudo apt-get -y install heimdal-clients

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

You can also use apt command to install heimdal-clients.

sudo apt -y install heimdal-clients

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

sudo aptitude install heimdal-clients

Summary

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