From owner-freebsd-current Fri Feb 1 17:57:36 2002 Delivered-To: freebsd-current@freebsd.org Received: from albatross.prod.itd.earthlink.net (albatross.mail.pas.earthlink.net [207.217.120.120]) by hub.freebsd.org (Postfix) with ESMTP id 3F39437B405; Fri, 1 Feb 2002 17:57:25 -0800 (PST) Received: from pool0542.cvx40-bradley.dialup.earthlink.net ([216.244.44.32] helo=mindspring.com) by albatross.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16WpQg-0005Yl-00; Fri, 01 Feb 2002 17:57:22 -0800 Message-ID: <3C5B477D.DCAE125E@mindspring.com> Date: Fri, 01 Feb 2002 17:57:17 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Matt Heckaman Cc: current@FreeBSD.ORG, stable@FreeBSD.ORG Subject: Re: Junior Annoying Hacker Task References: <20020201194422.G96043-100000@epsilon.lucida.ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Matt Heckaman wrote: > On Fri, 1 Feb 2002, Terry Lambert wrote: > : There's not even a "virc" equivalent to "vipw", that can do a > : consistency check on the file to make sure it's "sourceable" by a shell > : script, before permitting the edits to replace the valid contents, and > : keep a backup of the previous file for you. > > Out of this entire thread, something I like! This would be a great idea. Determining "source-ability" by sourcing is dangerous. You would need to do a "chroot", or run it as a non-priviledged user, for the purposes of testing, and you would not be able to see some side effects, if the file contained code, even then. Also, people use "vipw" because if you don't, the database doesn't get rebuilt. There's no corresponding force to make them use it for "virc". All that aside, I'll admit that it would be better than what's there. But of course, that's more of a "Junior Hacker" than a "Junior Annoying Hacker" task, and, really, what we are trying to do here is raise up someone to compete with Albert for number of complaints. 8-) 8-o 8-O }B^). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message