Bug 119360

Summary: laus support for vixie-cron
Product: Red Hat Enterprise Linux 3 Reporter: Chris Runge <crunge>
Component: vixie-cronAssignee: Jason Vas Dias <jvdias>
Status: CLOSED CURRENTRELEASE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: ccb, fenlason, notting
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-02-01 20:40:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Chris Runge 2004-03-29 21:06:16 UTC
Description of problem:

vixie-cron in RHEL 3 U2 needs to be modified to add support for laus.
Short-term solution from Charlie Bennett:

[ -x /usr/sbin/aurun -a ! -x /usr/sbin/crond.nolaus ] && {
   mv /usr/sbin/crond /usr/sbin/crond.nolaus
   cat > /usr/sbin/crond <<!
#!/bin/bash
[ -x /usr/sbin/crond.nolaus ] && exec /usr/sbin/aurun
/usr/sbin/crond.nolaus "\$@"
!
   chmod +x /usr/sbin/crond
   service crond stop
   service crond start
}

Comment 1 Florian La Roche 2004-04-12 16:31:43 UTC
Why is this needed? Can anything else be done to improve the situation?

Comment 3 Charlie Bennett 2004-06-23 19:33:11 UTC
This has been corrected with modifications to vixie-cron.  There is
now low-level auditing of cron jobs featuring the correct uid/gid in
the logs.