"Fossies" - the Fresh Open Source Software Archive

Member "passwdqc-2.0.3/pwqgen.1" (23 Jun 2023, 2687 Bytes) of package /linux/privat/passwdqc-2.0.3.tar.gz:

Caution: As a special service "Fossies" has tried to format the requested manual source page into HTML format but links to other man pages may be missing or even erroneous. Alternatively you can here view or download the uninterpreted manual source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field. See also the last Fossies "Diffs" side-by-side code changes report for "pwqgen.1": 2.0.1_vs_2.0.2.

PWQGEN(1) BSD General Commands Manual PWQGEN(1)


pwqgen — Generate quality controllable random passphrase


pwqgen [options]


The pwqgen program generates a random passphrase using the libpasswdqc library. Strength of the generated passphrase depends on the amount of randomness read from /dev/urandom.


(default: random=47) The size of randomly-generated passphrase in bits (24 to 136).


Load config FILE in the passwdqc.conf format. This file may define any options described in passwdqc.conf(5), but only the random and config options are honored by pwqgen.


Output pwqgen program version and exit.

-h, --help

Output pwqgen help text and exit.


pwqgen exits with non-zero status when it encounters invalid config file, invalid option, invalid parameter value, when it fails to obtain enough randomness, and in any case when it fails to generate a passphrase.


/etc/passwdqc.conf (not read unless this suggested file location is specified with the config=/etc/passwdqc.conf option).


pwqcheck(1), libpasswdqc(3), urandom(4), passwdqc.conf(5), pam_passwdqc(8).



The pam_passwdqc module was written for Openwall GNU/*/Linux by Solar Designer. The pwqgen program was originally written for ALT GNU/*/Linux by Dmitry V. Levin, indirectly reusing code from pam_passwdqc (via libpasswdqc). This manual page was written for Openwall GNU/*/Linux by Dmitry V. Levin.

Openwall Project March 10, 2021 Openwall Project