From owner-freebsd-questions Fri Aug 27 9: 1:36 1999 Delivered-To: freebsd-questions@freebsd.org Received: from bekool.com (ns2.netquick.net [216.48.34.2]) by hub.freebsd.org (Postfix) with ESMTP id A850E14D5D for ; Fri, 27 Aug 1999 09:01:30 -0700 (PDT) (envelope-from trouble@hackfurby.com) Received: from bastille.netquick.net ([216.48.32.159] helo=hackfurby.com) by bekool.com with esmtp (Exim 3.03 #1) id 11KOkK-000Hqo-00 for freebsd-questions@freebsd.org; Fri, 27 Aug 1999 16:20:57 +0000 Message-ID: <37C6CB77.6C1EA8C8@hackfurby.com> Date: Fri, 27 Aug 1999 12:31:35 -0500 From: TrouBle Reply-To: trouble@hackfurby.com X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 4.0-19990816-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: pw problems Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG OK here i say again...... how can i get pw to run non-root and actually update a /etc/master.passwd file, and the pwd.db without running it setuid ??? i have a web based perl script that requires the call of pw to make the changes to the neccessary master.passwd file and then update the database, yet pw and pwd_mkdb require setuid 0 , these are for chrooted file systems, called from a cgi under apache, running as nobody. apache will not let me setuid to call pw from the cgi scripts... is there a way around this and if so how ??? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message