From owner-freebsd-current Mon Jun 29 08:35:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA06449 for freebsd-current-outgoing; Mon, 29 Jun 1998 08:35:38 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from alpha.xerox.com (firewall-user@alpha.Xerox.COM [13.1.64.93]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA06438; Mon, 29 Jun 1998 08:35:28 -0700 (PDT) (envelope-from leisner@sdsp.mc.xerox.com) Received: from gemini.sdsp.mc.xerox.com ([13.231.132.20]) by alpha.xerox.com with SMTP id <55216(1)>; Mon, 29 Jun 1998 08:35:14 PDT Received: from gnu.sdsp.mc.xerox.com (gnu [13.231.133.90]) by gemini.sdsp.mc.xerox.com (8.8.7/8.8.7) with SMTP id LAA15442; Mon, 29 Jun 1998 11:31:04 -0400 (EDT) Received: from gnu (localhost) by gnu.sdsp.mc.xerox.com (4.1/client-1.3) id AA12450; Mon, 29 Jun 98 11:31:03 EDT Message-Id: <9806291531.AA12450@gnu.sdsp.mc.xerox.com> X-Mailer: exmh version 2.0.2 2/24/98 To: asami@FreeBSD.ORG (Satoshi Asami) Cc: bde@zeta.org.au, current@FreeBSD.ORG, jb@cimlogic.com.au, paulz@trantor.stuyts.nl Subject: Re: make buildworld needs root privs , why ? In-Reply-To: Your message of "Sat, 27 Jun 1998 23:28:19 PDT." <199806280628.XAA04491@bubble.didi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 29 Jun 1998 08:31:01 PDT From: "Marty Leisner" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Using Unix for more than 15 years, IMHO its a mistake to run any make job as root (or anything you don't have to, for that matter) When I make kernels, I chown -R leisner /usr/src/sys (or something like that) so I didn't need to be root. IMHO, its a better idea to have special "install programs" running setuid, with permissions: rwsr-x--- and put yourself into a special group to access them. But, as a rule of thumb, the fewer things you have to do as "root", the fewer fatal mistakes you can make. -- marty leisner@sdsp.mc.xerox.com The Feynman problem solving Algorithm 1) Write down the problem 2) Think real hard 3) Write down the answer Murray Gell-mann in the NY Times To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message