From owner-freebsd-stable Sun Sep 23 0: 5:54 2001 Delivered-To: freebsd-stable@freebsd.org Received: from sanctuary.magill.unisa.edu.au (sanctuary.magill.unisa.edu.au [130.220.227.239]) by hub.freebsd.org (Postfix) with ESMTP id 83EBE37B41E for ; Sun, 23 Sep 2001 00:05:50 -0700 (PDT) Received: from localhost (sayersjm@localhost) by sanctuary.magill.unisa.edu.au (8.11.6/8.11.4) with ESMTP id f8N75cq35774 for ; Sun, 23 Sep 2001 16:35:39 +0930 (CST) (envelope-from Jarrod.Sayers@unisa.edu.au) Date: Sun, 23 Sep 2001 16:35:38 +0930 (CST) From: Jarrod Sayers X-X-Sender: To: Subject: setuid perl Message-ID: <20010923163133.E20842-100000@sanctuary.magill.unisa.edu.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hmm. In 5 words ot less, is it possible to use perlcc to compile a perl script and setuid it to a user on the system which will then run in a web site. Reason: using a database which is owned by 'fred:fred' lets say. Apache runs as 'httpd:www'. I need this script to be setuid (or gid) fred so it can access the database WITHOUT me chgrping up the database folder to www. This was only the script can access the db, nothing else. I have a strong feeling that its going to be NO, so can anyone suggest any other methods? Cheers, Jarrod Sayers Information Technologist School of Communication, Information and New Media University of South Australia, Magill Campus. Phone: +61 8 83024045 Fax: +61 8 83024745 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message