[CentOS] Cron set_loginuid failed opening loginuid errors.

Sat Sep 15 04:26:02 UTC 2007
Stephen Harris <lists at spuddy.org>

On Sat, Sep 15, 2007 at 12:15:30PM +1000, Steven Haigh wrote:
> Hi all,
> 
> I've had this error rear it's ugly head again and I'm not exactly  
> sure why. The output in /var/log/message is:
> 
>  crond[14764]: pam_loginuid(crond:session): set_loginuid failed  
> opening loginuid

I've seen this when using a non-standard kernel without the correct
CONFIG_AUDIT and CONFIG_AUDITSYSCALL options set.  

If you're running a kernel without those options then you can remove
the pam_loginuid from PAM (sshd,crond,login,remote and possibly others)

-- 

rgds
Stephen