]> granicus.if.org Git - shadow/commit
Do not report unknown settings, when compiled with PAM.
authorDimitri John Ledkov <dimitri.j.ledkov@intel.com>
Fri, 27 Feb 2015 12:39:44 +0000 (12:39 +0000)
committerDimitri John Ledkov <dimitri.j.ledkov@intel.com>
Fri, 27 Feb 2015 17:01:28 +0000 (17:01 +0000)
commit71c6165dcd6b808fc1bf11e0dfb3692beb06221c
tree40060a1142507eea7f3869df8fd41f2dad586f55
parent51c1fc93e36ac90ef1f6273832d3c5ea11f2180e
Do not report unknown settings, when compiled with PAM.

When compiled with PAM certain settings are not used, however they are
still defined in the stock login.defs file. Thus every command reports
them as "unknown setting contact administrator".

Alternative would be to parse stock login.defs and comment out/remove
settings that are not applied, when compiled with PAM.
lib/getdef.c