# Securing crontab

**URL:** <https://forums.suse.com/t/securing-crontab/24190>\
**Category:** SLES Configure-Administer\
**Created:** [July 23, 2013, 12:52pm UTC](https://forums.suse.com/t/securing-crontab/24190 "2013-07-23T12:52:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RobAtos](https://avatars.discourse-cdn.com/v4/letter/r/ea5d25/32.png) [@RobAtos](https://forums.suse.com/u/RobAtos)\
**Post date:** [July 23, 2013, 12:52pm UTC](https://forums.suse.com/t/securing-crontab/24190/1 "2013-07-23T12:52:05Z")

</div>

A /etc/cron.allow file dosn’t exist. Meens that everyone has the right to create a cronjob or can change it? and wen I create the file /etc/cron.allow how is the syntax and must root in there?

---

<div class="post-metadata">

**Author:** ![ab1](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@ab1](https://forums.suse.com/u/ab1)\
**Post date:** [July 23, 2013, 2:30pm UTC](https://forums.suse.com/t/securing-crontab/24190/2 "2013-07-23T14:30:42Z")

</div>

Have you checked the crontab manpage? From the `man 1p crontab` output:

## Code:

## Users shall be permitted to use crontab if their names appear in the file /usr/lib/cron/cron.allow. If that file does not exist, the file /usr/lib/cron/cron.deny shall be checked to determine whether the user shall be denied access to crontab. If neither file exists, only a process with appropriate privileges shall be allowed to submit a job. If only cron.deny exists and is empty, global usage shall be permitted. The cron.allow and cron.deny files shall consist of one user name per line.

Good luck.
