Crontabs must be owned by root or the crontab creator.

From SUSE Linux Enterprise Server v11 for System z

Part of GEN003040

Associated with: CCI-000225

SV-45585r1_rule Crontabs must be owned by root or the crontab creator.

Vulnerability discussion

To protect the integrity of scheduled system jobs and prevent malicious modification to these jobs, crontab files must be secured.

Check content

List all crontabs on the system. # ls -lL /var/spool/cron /var/spool/cron/tabs # ls -lL /etc/crontab /etc/cron.{d,daily,hourly,monthly,weekly} or # ls -lL /etc/cron*|grep -v deny If any crontab is not owned by root or the creating user, this is a finding

Fix text

Change the crontab owner to root or the crontab creator. # chown root or # chown

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer