pwquality.conf file requires spaces around '='

Brian Mathis <[email protected]> Tue, 7 Apr 2015 16:21:15 -0400
Newsgroups gmane.linux.pam
Message-ID <CALKwpEy6dfzeUCs9bvjcEMWAoiSNcSmWkrAifks-XNgTmf0=RQ@mail.gmail.com>
The pwquality.conf file requires spaces around the equals sign for config
options.  The man page claims that this whitespace is "ignored", but it
does not explicitly say that it is required.  It's very easy to assume it
is not required, such as when looking at the pam_pwquality man page which
shows all examples without spaces, so it is not consistent within itself.
Also, simple config files like this typically don't care, so it's confusing
as it doesn't seem to follow standard conventions.

Example:
    minlen=10     # Not OK
    minlen = 10   # OK

Please consider this as a documentation bug if nothing else, otherwise I
think the config should allow for no spaces around the = in addition to the
current functionality.


❧ Brian Mathis
@orev

_______________________________________________
Pam-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pam-list