Date: Sun, 23 Sep 2001 16:35:38 +0930 (CST) From: Jarrod Sayers <Jarrod.Sayers@unisa.edu.au> To: <stable@FreeBSD.org> Subject: setuid perl Message-ID: <20010923163133.E20842-100000@sanctuary.magill.unisa.edu.au>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010923163133.E20842-100000>