[CentOS] Cron set_loginuid failed opening loginuid errors.

Steven Haigh netwiz at crc.id.au
Sat Sep 15 23:30:11 UTC 2007


On 15/09/2007, at 2:26 PM, Stephen Harris wrote:
> 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)

Bingo. That was the cause (and fix) of the problem. Turned those  
options on in the kernel, and now all is good.

--
Steven Haigh

Email: netwiz at crc.id.au
Web: http://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897





More information about the CentOS mailing list