From owner-freebsd-questions Wed Aug 26 13:50:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA14582 for freebsd-questions-outgoing; Wed, 26 Aug 1998 13:50:00 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from netra.graphnet.com (netra.graphnet.com [192.206.112.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA14566 for ; Wed, 26 Aug 1998 13:49:58 -0700 (PDT) (envelope-from romank@graphnet.com) Received: from graphnet.com (roman.graphnet.com [192.206.112.93]) by netra.graphnet.com (8.8.8/8.8.6) with ESMTP id QAA05070 for ; Wed, 26 Aug 1998 16:49:08 -0400 (EDT) Message-ID: <35E47654.E2BE73F5@graphnet.com> Date: Wed, 26 Aug 1998 16:55:48 -0400 From: Roman Katsnelson Organization: Graphnet, Inc X-Mailer: Mozilla 4.05 [en] (WinNT; U) MIME-Version: 1.0 To: "q's" Subject: Root privileges without root Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I am trying to write a web front end for some applications. One of the major things it needs to do is run pw, which is only usable by root. Of course, a web page isn't root unless Apache is root, which I don't really want to do. Is there any way for me to give my script root privileges just for the time that it does pw? Or is there _any_ other way around this? Thanks again! Roman -- Roman Katsnelson <-- Unix/NT Sys.Admin. Graphnet, Inc. <-- HQ at Teaneck http://www.wait.org <-- and in the mean time... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message