Re: SELinux cronjobs in wrong context?

Robert Sharp <selinux-/[email protected]> Tue, 31 Jan 2017 22:22:19 +0000
Newsgroups gmane.linux.gentoo.hardened
Message-ID <[email protected]>
On 31/01/17 03:48, Jason Zaman wrote:
> As a workaround, you can
> echo "system_u:system_u:s0-s0:c0.c1023" >> /etc/selinux/mcs/seusers
> you cant use semanage to add it since system_u isnt a valid user, and
> you'll have to re-add that after loading modules since the file is
> re-generated.
> after adding that, restarting vixie-cron will make cronjobs work right
> again.
Thanks. It worked a treat. I changed the same file in 
/etc/selinux/strict cos I am not operating MCS.
>
> I will get around to fixing it real-soon-now, sorry about that!
> -- Jason

Looking forward to it, but for now I will keep updating the file as and 
when. Back to where I was with su vs sudo.

Robert