pwquality.conf file requires spaces around '='

Brian Mathis brian.mathis+pam at betteradmin.com
Tue Apr 7 20:21:15 UTC 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pam-list/attachments/20150407/04646b3a/attachment.htm>


More information about the Pam-list mailing list