https://bugzilla.novell.com/show_bug.cgi?id=801553
https://bugzilla.novell.com/show_bug.cgi?id=801553#c4
--- Comment #4 from Christian Boltz 2013-02-04 12:17:51 CET ---
Last item first -auditd is happily logging so that I can update the apparmor
profiles if needed - so I'd assume audit is enabled in the kernel ;-)
Now to the reproducer:
As root, run "crontab -e" and make sure the crontab contains the following
----------
MAILTO=root
PATH=/bin:/usr/local/bin:/usr/bin:/sbin:/usr/sbin
8 12 * * * /tmp/crontest
----------
MAILTO is important to actually receive the mail (without it, the mail will be
/dev/null'ed) - change the mail address if needed.
/tmp/crontest is a small test script:
----------
#!/bin/bash
echo one
su cb -c 'echo two-as-cb'
echo three
----------
chmod +x it, replace "cb" with your username and wait for the cronjob to run.
The result is this mail (hostname replaced with ***)
----------
Subject: Cron /tmp/crontest
From: Cron Daemon
To. root@***
one
two-as-cb
...killed.
three
----------
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.