From owner-freebsd-questions Thu Aug 27 06:43:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA13322 for freebsd-questions-outgoing; Thu, 27 Aug 1998 06:43:25 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from faust27-s.rz.uni-frankfurt.de (faust27-s.rz.uni-frankfurt.de [141.2.149.151]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id GAA13308 for ; Thu, 27 Aug 1998 06:43:14 -0700 (PDT) (envelope-from oliver.thuns@gmx.de) Message-Id: <199808271343.GAA13308@hub.freebsd.org> Received: from virt.dyn.ml.org (actually NAFp2-140.rz.uni-frankfurt.de) by faust27-eth.rz.uni-frankfurt.de with Local SMTP (PP); Thu, 27 Aug 1998 15:41:42 +0000 From: Oliver Thuns To: Neil Blakey-Milner , "q's" Date: Thu, 27 Aug 1998 15:39:37 +0100 Reply-To: Oliver Thuns X-Mailer: PMMail 98 Professional (2.00.1500) For Windows 95 (4.0.950) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: Re: Root privileges without root Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> 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? > >Make a suid binary that does whatever you want for that time, and make >sure only the web server, and not any of your users, can execute it? How can I make it? Is it possible to make perl/python/tcl/... suid? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message