Date: Tue, 1 Jan 2002 10:30:02 -0800 (PST) From: Marc Silver <marcs@draenor.org> To: freebsd-doc@freebsd.org Subject: Re: docs/31265: crontab(1) doesn't decribe format of allow and deny files. Message-ID: <200201011830.g01IU2s09449@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/31265; it has been noted by GNATS.
From: Marc Silver <marcs@draenor.org>
To: freebsd-gnats-submit@FreeBSD.org, swear@blarg.net
Cc:
Subject: Re: docs/31265: crontab(1) doesn't decribe format of allow and deny files.
Date: Tue, 1 Jan 2002 18:25:36 +0000
--Bn2rw/3z4jIqBvZU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hi there,
After looking at PR docs/31265 I would like to submit this patch for
possible review. The patch originally provided in this PR is (I
believe) incorrect in stating that usernames must be followed by a
newline character. Possibly this was corrected in FreeBSD sometime
after the PR was submitted. I cannot duplicate this behaviour in
FreeBSD 4.4-STABLE.
I have written the following patch for the man page, and hopefully
someone can look over it and maybe commit it for me if they feel it's
ok?
Thanks,
Marc
--
I've learned that being kind is more important than being right.
-- Andy Rooney
--Bn2rw/3z4jIqBvZU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="crontab.1.patch"
--- crontab.1.orig Tue Jan 1 17:56:02 2002
+++ crontab.1 Tue Jan 1 18:18:08 2002
@@ -55,10 +55,20 @@
.Em not
be listed in the
.Pa deny
-file in order to use this command. If neither of these files exists, then
-depending on site-dependent configuration parameters, only the super user
-will be allowed to use this command, or all users will be able to use this
-command.
+file in order to use this command.
+.Pp
+In order to use the
+.Pa allow
+and
+.Pa deny
+files you must use the correct format. Only one username must be added
+per line. Usernames must not have any characters (such as whitespace)
+preceding them, or they will be ignored. Comments may also be inserted
+into this file.
+.Pp
+If neither of these files exists, then depending on site-dependent
+configuration parameters, only the super user will be allowed to use
+this command, or all users will be able to use this command.
.Pp
The first form of this command is used to install a new crontab from some
named file or standard input if the pseudo-filename ``-'' is given.
--Bn2rw/3z4jIqBvZU--
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201011830.g01IU2s09449>
