summaryrefslogtreecommitdiff
path: root/usr.sbin/cron/cron.8
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-05-09 21:22:02 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-05-09 21:22:02 +0000
commit124d0347b10f2c64912889fab1379f308b796911 (patch)
tree1f009cb40f170648cc70571d89992e375b0fbf94 /usr.sbin/cron/cron.8
parent0fcf09b27f6901580349da84181cdf8f92d74a8c (diff)
crontab is no longer setuid root, it is now setgid crontab.
These changes were modelled after the Owl version of vixie-cron, but developed independently. Our crontab used to send cron SIGUSR1 to tell cron to reread the spool dir. Now that crontab is not setuid root this doesn't work. Instead, crontab pokes cron via a Unix domain socket located in the tabs dir. Please note, after these changes, the owner on user crontab files will have to be changed manually from root to the uid of the corresponding user for crontab to be usable. cron itself will accept tab files owned by either root or the user. Also, any /var/cron/{allow,deny} files must be readable by group crontab.
Diffstat (limited to 'usr.sbin/cron/cron.8')
-rw-r--r--usr.sbin/cron/cron.819
1 files changed, 13 insertions, 6 deletions
diff --git a/usr.sbin/cron/cron.8 b/usr.sbin/cron/cron.8
index 04b06575cfb..cb7c60a2696 100644
--- a/usr.sbin/cron/cron.8
+++ b/usr.sbin/cron/cron.8
@@ -17,7 +17,7 @@
.\" ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
.\" SOFTWARE.
.\"
-.\" $OpenBSD: cron.8,v 1.13 2001/12/20 23:27:47 millert Exp $
+.\" $OpenBSD: cron.8,v 1.14 2002/05/09 21:22:01 millert Exp $
.\"
.Dd June 6, 1999
.Dt CRON 8
@@ -109,12 +109,19 @@ this has no effect because
.Nm cron
logs via
.Xr syslog 3 .
-.It Dv SIGUSR1
-causes
+.El
+.Sh FILES
+.Bl -tag -width "/var/cron/tabs/.sock" -compact
+.It Pa /var/cron/log
+cron's log file
+.It Pa /var/cron/tabs
+directory of individual crontabs
+.It Pa /var/cron/tabs/.sock
+used by
+.Xr crontab 1
+to tell
.Nm
-to check its spool directory's modtime (and the modtime of
-.Pa /etc/crontab )
-at the next possible moment instead of waiting until the next minute.
+to check for crontab changes immediately
.El
.Sh SEE ALSO
.Xr crontab 1 ,