Research
Skip Research Menus
Research MenuSecurity Enhanced Linux What's New Frequently Asked Questions Background Documents License Download Participating Mail List Archives Remaining Work Contributors Related Work Press Releases Information Assurance Research NIARL In-house Research Areas Mathematical Sciences Program Sabbaticals Computer & Information Sciences Research Technology Transfer Advanced Computing Advanced Mathematics Communications & Networking Information Processing Microelectronics Other Technologies Technology Fact Sheets Publications Related Links |
SELinux Mailing ListRe: Cron
From: Stephen Smalley <sds_at_tislabs.com>
Date: Fri, 5 Oct 2001 14:09:17 -0400 (EDT)
On Fri, 5 Oct 2001, Westerman, Mark wrote:
> When I place the backup in the crontab it will not execute. The cron daemon was modified to check entrypoint permission between the user's cron job security context (from /etc/security/cron_context) and the security context on the crontab file. This simulates the checking that would occur if a crontab file were an executable script rather than a configuration file. It is done to ensure that a low integrity crontab is not executed by a privileged user's cron job. Otherwise, a superuser process in an unprivileged domain could potentially create a bogus crontab for a privileged user.
Notice that the crontab program domains
The crond domains (policy/domains/system/crond.te) are granted entrypoint permission to the appropriate crontab file type. The system_crond_t domain is granted entrypoint permission to system_crond_script_t, which is set for /etc/crontab and /etc/cron.d/* when you did the 'make relabel'. The user crond domains are granted entrypoint permission to the appropriate derived type, which is set when the crontab file is created as described above. Are you trying to run this job from one of the system crontab files or from the amanda user's crontab file? If the latter, what is the amanda user's security context in /etc/security/cron_context? -- Stephen D. Smalley, NAI Labs ssmalley@nai.com -- You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.Received on Fri 5 Oct 2001 - 14:21:49 EDT |
|
Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009 |