diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2003-02-19 22:11:43 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2003-02-19 22:11:43 +0000 |
commit | 874d23b620bdef4a0c20b79377661a2d6b719666 (patch) | |
tree | 38e9c8067c1dec39d188fc7a0c50887d8515d069 /usr.bin | |
parent | 14692fca9ef8787afba154588a8400971d65a8b5 (diff) |
Move contents of /var/at into /var/cron since at is now intergrated into
cron. When ISC cron 5.0 is out the integration will be even tighter.
Also rename /var/cron/{allow,deny} -> /var/cron/cron.{allow,deny}
for consistency with POSIX and at.{allow,deny} and install an empty
cron.deny file (as we do at.deny) since crontab will require this
in the near future for POSIX compliance.
After a "make build" you can update your system as follows:
# mv /var/at/* /var/cron
# mv /var/cron/jobs /var/cron/atjobs
# mv /var/cron.allow /var/cron/cron.allow
# mv /var/cron.deny /var/cron/cron.deny
# rm -rf /var/at
# kill `cat /var/run/cron.pid` ; cron
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/at/at.1 | 22 | ||||
-rw-r--r-- | usr.bin/at/atq.1 | 6 | ||||
-rw-r--r-- | usr.bin/at/atrm.1 | 6 |
3 files changed, 17 insertions, 17 deletions
diff --git a/usr.bin/at/at.1 b/usr.bin/at/at.1 index 407967fcfbd..6e3efed1e10 100644 --- a/usr.bin/at/at.1 +++ b/usr.bin/at/at.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: at.1,v 1.29 2003/02/19 20:47:09 millert Exp $ +.\" $OpenBSD: at.1,v 1.30 2003/02/19 22:11:42 millert Exp $ .\" .\" Copyright (C) 1993, 1994 Thomas Koenig .\" Copyright (C) 1993 David Parsons @@ -276,20 +276,20 @@ shell, the owner of the login shell will receive the mail. For non-root users, permission to run .Nm is determined by the files -.Pa /var/at/at.allow +.Pa /var/cron/at.allow and -.Pa /var/at/at.deny . +.Pa /var/cron/at.deny . .Em Note : these files must be readable by group crontab (if they exist). .Pp If the file -.Pa /var/at/at.allow +.Pa /var/cron/at.allow exists, only usernames mentioned in it are allowed to use .Nm at . If -.Pa /var/at/at.allow +.Pa /var/cron/at.allow does not exist, -.Pa /var/at/at.deny +.Pa /var/cron/at.deny is checked. Every username not mentioned in it is then allowed to use .Nm at . @@ -297,16 +297,16 @@ If neither exists, only the superuser is allowed to run .Nm at . .Pp An empty -.Pa /var/at/at.deny +.Pa /var/cron/at.deny means that every user is allowed use these commands. This is the default configuration. .Sh FILES -.Bl -tag -width /var/at/at.allow -compact -.It Pa /var/at/jobs +.Bl -tag -width /var/cron/at.allow -compact +.It Pa /var/cron/atjobs directory containing job files -.It Pa /var/at/at.allow +.It Pa /var/cron/at.allow allow permission control -.It Pa /var/at/at.deny +.It Pa /var/cron/at.deny deny permission control .El .Sh SEE ALSO diff --git a/usr.bin/at/atq.1 b/usr.bin/at/atq.1 index 37ab415efd2..284ee8def7a 100644 --- a/usr.bin/at/atq.1 +++ b/usr.bin/at/atq.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: atq.1,v 1.1 2002/05/14 18:05:39 millert Exp $ +.\" $OpenBSD: atq.1,v 1.2 2003/02/19 22:11:42 millert Exp $ .\" .\" Copyright (c) 1985, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -92,8 +92,8 @@ Jobs that have completed but have not yet been removed are also displayed. If a name(s) is provided, only those files belonging to that user(s) are displayed. .Sh FILES -.Bl -tag -width /var/at/jobs -compact -.It Pa /var/at/jobs +.Bl -tag -width /var/cron/atjobs -compact +.It Pa /var/cron/atjobs directory containing job files .El .Sh SEE ALSO diff --git a/usr.bin/at/atrm.1 b/usr.bin/at/atrm.1 index 4448d21a793..bfc41e2694e 100644 --- a/usr.bin/at/atrm.1 +++ b/usr.bin/at/atrm.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: atrm.1,v 1.2 2003/02/19 00:22:54 millert Exp $ +.\" $OpenBSD: atrm.1,v 1.3 2003/02/19 22:11:42 millert Exp $ .\" .\" Copyright (c) 1985, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -78,8 +78,8 @@ If one or more user names are specified, all jobs belonging to those users are removed. Only the superuser may remove other users' jobs. .Sh FILES -.Bl -tag -width /var/at/jobs -compact -.It Pa /var/at/jobs +.Bl -tag -width /var/cron/atjobs -compact +.It Pa /var/cron/atjobs directory containing job files .El .Sh SEE ALSO |