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.6 systemd platform.

Package Information

libpwquality Dependencies




Linux-PAM-1.1.8 and Python-2.7.8

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 2014-08-25 13:50:07 -0700