From owner-freebsd-doc Tue Jan 1 14:44:42 2002 Delivered-To: freebsd-doc@freebsd.org Received: from relay3-gui.server.ntli.net (relay3-gui.server.ntli.net [194.168.4.200]) by hub.freebsd.org (Postfix) with ESMTP id 076E537B420 for ; Tue, 1 Jan 2002 14:44:37 -0800 (PST) Received: from pc3-card4-0-cust33.cdf.cable.ntl.com ([62.254.251.33] helo=rhadamanth) by relay3-gui.server.ntli.net with esmtp (Exim 3.03 #2) id 16LXe7-0006KM-00; Tue, 01 Jan 2002 22:44:35 +0000 From: "setantae" To: Marc Silver Date: Tue, 1 Jan 2002 22:44:34 -0000 Subject: Re: docs/31265: crontab(1) doesn't decribe format of allow and deny files. Cc: freebsd-doc@FreeBSD.org Message-ID: <3C323BD2.22144.76F752@localhost> In-reply-to: <20020101215217.R13308@draenor.org> References: <20020101203230.GA46419@rhadamanth>; from setantae@submonkey.net on Tue, Jan 01, 2002 at 08:32:30PM +0000 X-mailer: Pegasus Mail for Win32 (v3.12c) 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 On 1 Jan 2002, at 21:52, Marc Silver wrote: > On Tue, Jan 01, 2002 at 08:32:30PM +0000, Ceri wrote: > > On Tue, Jan 01, 2002 at 10:30:02AM -0800, Marc Silver wrote: > > > +preceding them, or they will be ignored. Comments may also be > > > +inserted into this file. > > > > Could you describe what is considered a comment (e.g. are they ^#, > > ^;, ^REM ;) ? > > > After looking at the source code for cron I'm fairly certain that any > non standard characters that are _not_ allowed in usernames > [-_a-zA-Z0-9\.] (I think that's all?) will essentially be allowed to > be used for a comment. Looks to me like it's merely searching for the > username that executes crontab in the allow or deny file... it's not > specifically marking anything as a comment. :) I'd recommend using > ^# as a standard in this case since it's just a text file. > > Do you want me to amend the patch and re-send or can you add this > if/when you commit this? Marc, I don't have commit privs, I just thought it would be nice ;) Ceri To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message