Information
The /var/spool/cron/crontabs directory contains all of the crontabs for the users on the system.
The /var/spool/cron/crontabs directory contains all of the crontabs for the users on the system. Crontab files present a security problem because they are run by the cron daemon, which runs with super user rights. Allowing other users to have read/write permissions on these files may allow them to escalate their privileges. To negate this risk, the directory and all the files that it contains must be secured.
Solution
Use the following script to apply settings to /var/spool/cron/crontabs :
#!/usr/bin/ksh -e
#; remove any extended ACL information
echo | aclput /var/spool/cron/crontabs
#; remove other access from all
chmod -R o= /var/spool/cron/crontabs
#; set UID:GID to bin:cron to `/var/spool/cron/crontabs` and correct modes on directory and files within directory
chown bin:cron /var/spool/cron/crontabs
chgrp -R cron /var/spool/cron/crontabs
#; set modes on directory and files within directory
chmod ug=rwx,o= /var/spool/cron/crontabs
chmod a-w /var/spool/cron/crontabs
#; add or update entry in TCB
trustchk -a /var/spool/cron/crontabs size=VOLATILE >/dev/null 2>&1 || trustchk -u /var/spool/cron/crontabs owner=bin group=cron mode=770