summaryrefslogtreecommitdiff
path: root/usr.sbin/cron
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-02-19 23:45:47 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-02-19 23:45:47 +0000
commit5b7d83f76b5f50c5b6c4140a0e331f5b54ac3d66 (patch)
tree76c71be865ee24b6a935840ed6ebf466263c6f09 /usr.sbin/cron
parentdca62f16903e5629bbec382c2f2ee9ed5a568d16 (diff)
Mention that /etc/crontab must be mode 0600 if it exists.
Diffstat (limited to 'usr.sbin/cron')
-rw-r--r--usr.sbin/cron/cron.814
1 files changed, 13 insertions, 1 deletions
diff --git a/usr.sbin/cron/cron.8 b/usr.sbin/cron/cron.8
index e6fe731e9ef..515e306da2c 100644
--- a/usr.sbin/cron/cron.8
+++ b/usr.sbin/cron/cron.8
@@ -24,7 +24,7 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $OpenBSD: cron.8,v 1.19 2003/02/19 22:11:42 millert Exp $
+.\" $OpenBSD: cron.8,v 1.20 2003/02/19 23:45:46 millert Exp $
.\"
.Dd July 6, 2002
.Dt CRON 8
@@ -209,3 +209,15 @@ to check for crontab changes immediately
.Xr crontab 5
.Sh AUTHORS
Paul Vixie <vixie@isc.org>
+.Sh CAVEATS
+All
+.Xr crontab 5
+files must not be readable or writable by any user other than their owner,
+including
+.Pa /etc/crontab .
+In practice this means they should be mode 0600.
+This restriction is enforced automatically by
+.Xr crontab 1
+but if
+.Pa /etc/crontab
+is used, the mode must be set manually on that file.