[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

pwquality.conf file requires spaces around '='



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]