From owner-freebsd-doc Tue Jan 1 13:52:27 2002 Delivered-To: freebsd-doc@freebsd.org Received: from riffraff.plig.net (riffraff.plig.net [195.40.6.40]) by hub.freebsd.org (Postfix) with ESMTP id 31EE837B41C for ; Tue, 1 Jan 2002 13:52:19 -0800 (PST) Received: by riffraff.plig.net (Postfix, from userid 3010) id E6FE347B69; Tue, 1 Jan 2002 21:52:17 +0000 (GMT) Date: Tue, 1 Jan 2002 21:52:17 +0000 From: Marc Silver To: Ceri , freebsd-doc@freebsd.org Subject: Re: docs/31265: crontab(1) doesn't decribe format of allow and deny files. Message-ID: <20020101215217.R13308@draenor.org> References: <200201011830.g01IU2s09449@freefall.freebsd.org> <20020101203230.GA46419@rhadamanth> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020101203230.GA46419@rhadamanth>; from setantae@submonkey.net on Tue, Jan 01, 2002 at 08:32:30PM +0000 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 Hi Ceri, 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 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: > > Hi Marc, > > The patch is good so far as I'm concerned, with one proviso : > > > +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 ;) > ? > > Thanks, > > Ceri To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message