cc_test command not found

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

Introduction

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

cc_test: command not found

or when using sudo you get the following error message

sudo: cc_test: command not found

Solutions to cc_test: command not found

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

In Ubuntu cc_test is provided by libpam-ccreds package.

libpam-ccreds is:

This package provides the means for Linux workstations to locally authenticate using an enterprise identity when the network is unavailable. Used in conjunction with the nss_updatedb utility, it provides a mechanism for disconnected use of network directories. They are designed to work with libpam-ldap and libnss-ldap.

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

sudo apt-get -y install libpam-ccreds

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

You can also use apt command to install libpam-ccreds.

sudo apt -y install libpam-ccreds

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

sudo aptitude install libpam-ccreds

Summary

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