Re: Cron set_loginuid failed opening loginuid errors.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxx
Web: http://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux