Check passphrase quality.
For each passphrase to check, pwqcheck reads up to 3 lines from standard input:
first line is a new passphrase,
second line is an old passphrase, and
third line is either an existing account name or a passwd entry.
Usage: pwqcheck [options]
Valid options are:
min=N0,N1,N2,N3,N4
set minimum allowed lengths for different kinds of passphrases;
max=N
set maximum allowed passphrase length;
passphrase=N
set number of words required for a passphrase;
match=N
set length of common substring in substring check;
config=FILE
load config FILE in passwdqc.conf format;
-1
read just 1 line (new passphrase);
-2
read just 2 lines (new and old passphrases);
--multi
check multiple passphrases (until EOF);
--version
print program version and exit;
-h or --help
print this help text and exit.