From owner-freebsd-questions Tue Oct 26 13:22:12 1999 Delivered-To: freebsd-questions@freebsd.org Received: from richard2.pil.net (richard2.pil.net [207.8.164.9]) by hub.freebsd.org (Postfix) with SMTP id 116DB14FA4 for ; Tue, 26 Oct 1999 13:21:52 -0700 (PDT) (envelope-from up@pil.net) Received: (qmail 24854 invoked by uid 1825); 26 Oct 1999 20:21:47 -0000 Date: Tue, 26 Oct 1999 16:21:47 -0400 (EDT) From: X-Sender: up@richard2.pil.net To: TrouBle Cc: "freebsd-questions@FreeBSD.ORG" , freebsd-isp@freebsd.org Subject: Re: Running scripts as root under Apache In-Reply-To: <38160D23.8FF1A6BF@netquick.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 26 Oct 1999, TrouBle wrote: > okay, with a brief explaination i have scripts that run under apache, > user/group/nobody... now say these scripts are to > update/add/remove/modify users/passwords using either pw, or pwd_mkdb... > how can i get around the errors of these utilities needing to be run as > root, in order to be effective ??? suid is the traditional, insecure way to do it, sudo is safer. James Smallacombe PlantageNet, Inc. CEO and Janitor up@3.am http://3.am ========================================================================= ISPF 3 - The Forum for ISPs by ISPs(tm) || Nov 15-17, 1999, New Orleans 3 days of clues, news, and views from the industry's best and brightest. Visit for information and registration. ========================================================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message