Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Aug 1998 01:10:01 +0200
From:      Neil Blakey-Milner <nbm@rucus.ru.ac.za>
To:        Roman Katsnelson <romank@graphnet.com>, "q's" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Root privileges without root
Message-ID:  <19980827011001.A17427@rucus.ru.ac.za>
In-Reply-To: <35E47654.E2BE73F5@graphnet.com>; from Roman Katsnelson on Wed, Aug 26, 1998 at 04:55:48PM -0400
References:  <35E47654.E2BE73F5@graphnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed 1998-08-26 (16:55), Roman Katsnelson wrote:
> 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?

Neil
-- 
Neil Blakey-Milner
nbm@rucus.ru.ac.za

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980827011001.A17427>