From owner-freebsd-doc Tue Jan 1 10:30: 9 2002 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B262637B41F for ; Tue, 1 Jan 2002 10:30:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g01IU2s09449; Tue, 1 Jan 2002 10:30:02 -0800 (PST) (envelope-from gnats) Date: Tue, 1 Jan 2002 10:30:02 -0800 (PST) Message-Id: <200201011830.g01IU2s09449@freefall.freebsd.org> To: freebsd-doc@freebsd.org Cc: From: Marc Silver Subject: Re: docs/31265: crontab(1) doesn't decribe format of allow and deny files. Reply-To: Marc Silver Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR docs/31265; it has been noted by GNATS. From: Marc Silver 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