Article 6KC15 Shadow spewing errors

Shadow spewing errors

by
jayjwa
from LinuxQuestions.org on (#6KC15)
I updated today with a few updates from the past several days. Shadow is at 4.15.0. Sometimes, I check the files with pwck to make sure everything is prim & proper. Now I'm getting this:

Code:Mar 14 13:36:31 atr2 pwck[14386]: shadow: unknown configuration item 'FAILLOG_ENAB' in '/etc/login.defs'
Mar 14 13:36:31 atr2 pwck[14386]: shadow: unknown configuration item 'LASTLOG_ENAB' in '/etc/login.defs'
Mar 14 13:36:31 atr2 pwck[14386]: shadow: unknown configuration item 'MAIL_CHECK_ENAB' in '/etc/login.defs'
Mar 14 13:36:31 atr2 pwck[14386]: shadow: unknown configuration item 'OBSCURE_CHECKS_ENAB' in '/etc/login.defs'
Mar 14 13:36:31 atr2 pwck[14386]: shadow: unknown configuration item 'PORTTIME_CHECKS_ENAB' in '/etc/login.defs'
Mar 14 13:36:31 atr2 pwck[14386]: shadow: unknown configuration item 'QUOTAS_ENAB' in '/etc/login.defs'
Mar 14 13:36:31 atr2 pwck[14386]: shadow: unknown configuration item 'MOTD_FILE' in '/etc/login.defs'
Mar 14 13:36:31 atr2 pwck[14386]: shadow: unknown configuration item 'ISSUE_FILE' in '/etc/login.defs'
Mar 14 13:36:31 atr2 pwck[14386]: shadow: unknown configuration item 'FTMP_FILE' in '/etc/login.defs'
Mar 14 13:36:31 atr2 pwck[14386]: shadow: unknown configuration item 'NOLOGINS_FILE' in '/etc/login.defs'
Mar 14 13:36:31 atr2 pwck[14386]: shadow: unknown configuration item 'ENV_TZ' in '/etc/login.defs'
Mar 14 13:36:31 atr2 pwck[14386]: shadow: unknown configuration item 'ENV_HZ' in '/etc/login.defs'
Mar 14 13:36:31 atr2 pwck[14386]: shadow: unknown configuration item 'PASS_MIN_LEN' in '/etc/login.defs'
Mar 14 13:36:31 atr2 pwck[14386]: shadow: unknown configuration item 'SU_WHEEL_ONLY' in '/etc/login.defs'
Mar 14 13:36:31 atr2 pwck[14386]: shadow: unknown configuration item 'CRACKLIB_DICTPATH' in '/etc/login.defs'
Mar 14 13:36:31 atr2 pwck[14386]: shadow: unknown configuration item 'PASS_CHANGE_TRIES' in '/etc/login.defs'
Mar 14 13:36:31 atr2 pwck[14386]: shadow: unknown configuration item 'PASS_ALWAYS_WARN' in '/etc/login.defs'
Mar 14 13:36:31 atr2 pwck[14386]: shadow: unknown configuration item 'PASS_MAX_LEN' in '/etc/login.defs'
Mar 14 13:36:31 atr2 pwck[14386]: shadow: unknown configuration item 'CHFN_AUTH' in '/etc/login.defs'
Mar 14 13:36:31 atr2 pwck[14386]: shadow: unknown configuration item 'ENVIRON_FILE' in '/etc/login.defs'I checked man 5 login.defs and indeed, the options are not there. However, the login.defs from upstream has them. Which is correct? Lastlog is complaining as well:

Code:Mar 14 20:52:44 atr2 lastlog: shadow: unknown configuration item 'FAILLOG_ENAB' in '/etc/login.defs'
Mar 14 20:52:44 atr2 lastlog: shadow: unknown configuration item 'LASTLOG_ENAB' in '/etc/login.defs'
Mar 14 20:52:44 atr2 lastlog: shadow: unknown configuration item 'MAIL_CHECK_ENAB' in '/etc/login.defs'
Mar 14 20:52:44 atr2 lastlog: shadow: unknown configuration item 'OBSCURE_CHECKS_ENAB' in '/etc/login.defs'
Mar 14 20:52:44 atr2 lastlog: shadow: unknown configuration item 'PORTTIME_CHECKS_ENAB' in '/etc/login.defs'
Mar 14 20:52:44 atr2 lastlog: shadow: unknown configuration item 'QUOTAS_ENAB' in '/etc/login.defs'
Mar 14 20:52:44 atr2 lastlog: shadow: unknown configuration item 'MOTD_FILE' in '/etc/login.defs'
Mar 14 20:52:44 atr2 lastlog: shadow: unknown configuration item 'ISSUE_FILE' in '/etc/login.defs'
Mar 14 20:52:44 atr2 lastlog: shadow: unknown configuration item 'FTMP_FILE' in '/etc/login.defs'
Mar 14 20:52:44 atr2 lastlog: shadow: unknown configuration item 'NOLOGINS_FILE' in '/etc/login.defs'
Mar 14 20:52:44 atr2 lastlog: shadow: unknown configuration item 'ENV_TZ' in '/etc/login.defs'
Mar 14 20:52:44 atr2 lastlog: shadow: unknown configuration item 'ENV_HZ' in '/etc/login.defs'
Mar 14 20:52:44 atr2 lastlog: shadow: unknown configuration item 'PASS_MIN_LEN' in '/etc/login.defs'
Mar 14 20:52:44 atr2 lastlog: shadow: unknown configuration item 'SU_WHEEL_ONLY' in '/etc/login.defs'
Mar 14 20:52:44 atr2 lastlog: shadow: unknown configuration item 'PASS_CHANGE_TRIES' in '/etc/login.defs'
Mar 14 20:52:44 atr2 lastlog: shadow: unknown configuration item 'PASS_ALWAYS_WARN' in '/etc/login.defs'
Mar 14 20:52:44 atr2 lastlog: shadow: unknown configuration item 'PASS_MAX_LEN' in '/etc/login.defs'
Mar 14 20:52:44 atr2 lastlog: shadow: unknown configuration item 'CHFN_AUTH' in '/etc/login.defs'
Mar 14 20:52:44 atr2 lastlog: shadow: unknown configuration item 'ENVIRON_FILE' in '/etc/login.defs'Note https://github.com/shadow-maint/shadow/issues/967 How to fix? Revert to old version? Remove offending lines from login.defs? Is this stuff in PAM now? I don't want to be locked out.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments