Bug#280125: [Logcheck-devel] Bug#280125: pam fails on su logcheck command in the crontab

maks attems debian at sternwelten.at
Wed Nov 10 11:23:17 UTC 2004


On Sun, 07 Nov 2004, Pawel Konieczny wrote:

> 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:::

are you using debian?  (version)
or did you an cvs checkout and make install?
thanks for further infos on the system of your box?

--
maks





More information about the Logcheck-devel mailing list