[Logcheck-devel] Bug#280125: pam fails on su logcheck command in the crontab
Pawel Konieczny
konieczp at users.sourceforge.net
Sun Nov 7 13:17:19 UTC 2004
Package: logcheck
Version: 1.2.28
Severity: minor
logcheck installs the following line (or similar) in the root crontab:
2 * * * * if [ -x /usr/sbin/logcheck ]; then su -s /bin/bash -c "nice -n10 /usr/sbin/logcheck" logcheck; fi
However, su reports pam authentication error (mailed to root):
su: Authentication service cannot retrieve authentication info.
(Ignored)
The problem is that the installation script of logcheck, when creating the user "logcheck" did not create the corresponding entry in /etc/shadow
An entry in /etc/shadow like this would fix it:
logcheck:!:12729:0:99999:7:::
More information about the Logcheck-devel
mailing list