From owner-cvs-etc Mon Oct 27 11:46:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA18326 for cvs-etc-outgoing; Mon, 27 Oct 1997 11:46:31 -0800 (PST) (envelope-from owner-cvs-etc) Received: from gvr.gvr.org (root@gvr.gvr.org [194.151.74.97]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA18314; Mon, 27 Oct 1997 11:46:18 -0800 (PST) (envelope-from guido@gvr.org) Received: (from guido@localhost) by gvr.gvr.org (8.8.6/8.8.5) id UAA24705; Mon, 27 Oct 1997 20:45:37 +0100 (MET) From: Guido van Rooij Message-Id: <199710271945.UAA24705@gvr.gvr.org> Subject: Re: cvs commit: src/etc master.passwd In-Reply-To: from John Fieber at "Oct 27, 97 02:38:52 pm" To: jfieber@indiana.edu (John Fieber) Date: Mon, 27 Oct 1997 20:45:37 +0100 (MET) Cc: ache@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk John Fieber wrote: > On Mon, 27 Oct 1997, Guido van Rooij wrote: > > > Perhaps it's time to implement an extra switch for su to set the class. > > Then we can do things like: > > echo /wher/ever/httpd | su -fm -C daemon nobody > > > > Which would solve th problem as well and in a cleaner way. > > Except the small detail that httpd needs to be started by root to > get port 80, it then changes to the uid/gid specified in the > config file, which defaults to nobody. :-( Yep; I overlooked that. However the switch is still usefull so I coded it and will commit later. -Guido