Introduction to libpwquality

The libpwquality package contains a library used for password quality checking and generation of random passwords that pass the checks.

This package is known to build and work properly using an LFS-7.7 systemd platform.

Package Information

libpwquality Dependencies




Linux-PAM-1.2.1 and Python-2.7.10

User Notes:

Installation of libpwquality

Install libpwquality by running the following commands:

./configure --prefix=/usr             \
            --sysconfdir=/etc         \
            --disable-python-bindings \
            --disable-static          \
            --with-securedir=/lib/security &&

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

--disable-python-bindings: This switch disables building of the optional Python bindings. Remove it if you have installed Python.

--disable-static: This switch prevents installation of static versions of the libraries.


Installed Programs: pwmake and pwscore
Installed Libraries: and
Installed Directories: None

Short Descriptions


is a simple configurable tool for generating random and relatively easily pronounceable passwords.


is a simple tool for checking quality of a password.

contains API functions for checking the password quality.

is a Linux PAM module used to perform password quality checking.

Last updated on 2015-09-14 17:42:53 -0500