sudo_sendlog command not found

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

Introduction

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

sudo_sendlog: command not found

or when using sudo you get the following error message

sudo: sudo_sendlog: command not found

Solutions to sudo_sendlog: command not found

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

In Ubuntu sudo_sendlog is provided by sudo-ldap package.

sudo-ldap is:

Sudo is a program designed to allow a sysadmin to give limited root privileges to users and log root activity. The basic philosophy is to give as few privileges as possible but still allow people to get their work done.

This version is built with LDAP support, which allows an equivalent of the sudoers database to be distributed via LDAP. Authentication is still performed via pam.

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

sudo apt-get -y install sudo-ldap

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

You can also use apt command to install sudo-ldap.

sudo apt -y install sudo-ldap

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

sudo aptitude install sudo-ldap

Summary

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