How To Install pam_passwdqc on Fedora 34

pam_passwdqc is Pluggable passphrase quality checker Pluggable passphrase quality checker

Introduction

In this tutorial we learn how to install pam_passwdqc on Fedora 34.

What is pam_passwdqc

pam_passwdqc is a passphrase strength checking module for PAM-aware passphrase changing programs, such as passwd(1). In addition to checking regular passphrases, it offers support for passphrases and can provide randomly generated passphrases. All features are optional and can be (re-)configured without rebuilding. pam_passwdqc 1.4.0 3.fc34 x86_64 17 k passwdqc-1.4.0-3.fc34.src.rpm fedora Pluggable passphrase quality checker https BSD-3-Clause pam_passwdqc is a passphrase strength checking module for PAM-aware passphrase changing programs, such as passwd(1). In addition to checking regular passphrases, it offers support for passphrases and can provide randomly generated passphrases. All features are optional and can be (re-)configured without rebuilding.

We can use yum or dnf to install pam_passwdqc on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install pam_passwdqc.

Install pam_passwdqc on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install pam_passwdqc using dnf by running the following command:

sudo dnf -y install pam_passwdqc

Install pam_passwdqc on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install pam_passwdqc using yum by running the following command:

sudo yum -y install pam_passwdqc

How To Uninstall pam_passwdqc on Fedora 34

To uninstall only the pam_passwdqc package we can use the following command:

sudo dnf remove pam_passwdqc

pam_passwdqc Package Contents on Fedora 34

/lib/security/pam_passwdqc.so
/usr/lib/.build-id
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/852eca79b59c7ee0b4e3e3097b1ff1d7904b1b
/usr/share/man/man8/pam_passwdqc.8.gz
/lib64/security/pam_passwdqc.so
/usr/lib/.build-id
/usr/lib/.build-id/38
/usr/lib/.build-id/38/2b186c38ac5028469fa3a8352bfbf0d66959db
/usr/share/man/man8/pam_passwdqc.8.gz

References

Summary

In this tutorial we learn how to install pam_passwdqc on Fedora 34 using yum and dnf.