privbind command not found

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

Introduction

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

privbind: command not found

or when using sudo you get the following error message

sudo: privbind: command not found

Solutions to privbind: command not found

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

In Ubuntu privbind is provided by privbind package.

privbind is:

Privbind is a utility that allows running non-root applications, only giving them one root privilege - binding to low (<1024) ports. The aim is similar, though using a completely different method, to “authbind”.

Privbind is a completely user space solution. It has no SUID executables, and has to be started by a root user instead.

Privbind is useful for cases where there is a need to run an untrusted program that needs to bind to a low port, but requires no other root privilege. It is also useful if a daemon has no capability to drop privileges itself.

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

sudo apt-get -y install privbind

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

You can also use apt command to install privbind.

sudo apt -y install privbind

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

sudo aptitude install privbind

Summary

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