cvm-pgsql-udp command not found

In this troubleshooting guide we learn how to fix cvm-pgsql-udp command not found error message

Introduction

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

cvm-pgsql-udp: command not found

or when using sudo you get the following error message

sudo: cvm-pgsql-udp: command not found

Solutions to cvm-pgsql-udp: command not found

How To Fix cvm-pgsql-udp: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu cvm-pgsql-udp is provided by cvm-pgsql package.

cvm-pgsql is:

CVM is a framework for validating a set of credentials against a database using a filter program. The modules act as a filter, taking a set of credentials as input and writing a set of facts as output if those credentials are valid. Optional input is given to the module through environment variables.

Some of the ideas for CVM came from experience with PAM (pluggable authentication modules), the checkpassword interface used by qmail-pop3d, and the “authmod” interface used by Courier IMAP and POP3. This framework places fewer restrictions on the invoking client than checkpassword does, and is much simpler to implement on both sides than PAM and the authmod framework.

This package includes cvm binaries to interact with PostgreSQL databases.

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

sudo apt-get -y install cvm-pgsql

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

You can also use apt command to install cvm-pgsql.

sudo apt -y install cvm-pgsql

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

sudo aptitude install cvm-pgsql

Summary

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