How To Install krb5-strength on Debian 11
Introduction
In this tutorial we learn how to install krb5-strength
on Debian 11.
What is krb5-strength
krb5-strength is:
krb5-strength provides a password quality plugin for the MIT Kerberos KDC (specifically the kadmind server), an external password quality program for use with Heimdal, and a per-principal password history implementation for Heimdal. Passwords can be tested with CrackLib, checked against a CDB or SQLite database of known weak passwords with some transformations, checked for length, checked for non-printable or non-ASCII characters that may be difficult to enter reproducibly, required to contain particular character classes, or any combination of these tests.
No dictionary is shipped with this package. A CrackLib dictionary can be created with the tools in cracklib-runtime, a CDB or SQLite database can be created from a password list (obtained separately) using the tools included in this package, or both.
The recommended packages are needed to generate CDB or SQLite databases and for the password history implementation for Heimdal.
There are three methods to install krb5-strength
on Debian 11. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install krb5-strength Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install krb5-strength
using apt-get
by running the following command:
sudo apt-get -y install krb5-strength
Install krb5-strength Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install krb5-strength
using apt
by running the following command:
sudo apt -y install krb5-strength
Install krb5-strength Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install krb5-strength
using aptitude
by running the following command:
sudo aptitude -y install krb5-strength
How To Uninstall krb5-strength on Debian 11
To uninstall only the krb5-strength
package we can use the following command:
sudo apt-get remove krb5-strength
Uninstall krb5-strength And Its Dependencies
To uninstall krb5-strength
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove krb5-strength
Remove krb5-strength Configurations and Data
To remove krb5-strength
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge krb5-strength
Remove krb5-strength configuration, data, and all of its dependencies
We can use the following command to remove krb5-strength
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge krb5-strength
Dependencies
krb5-strength have the following dependencies:
References
Summary
In this tutorial we learn how to install krb5-strength
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.