Date: Mon, 30 Aug 1999 13:07:37 +1200 (NZST) From: Jonathan Chen <jonc@pinnacle.co.nz> To: TrouBle <trouble@hackfurby.com> Cc: "freebsd-questions@freebsd.org" <freebsd-questions@FreeBSD.ORG> Subject: Re: pw problems Message-ID: <Pine.SC5.4.10.9908301307150.2580-100000@kiwi.pinnacle.co.nz> In-Reply-To: <37C6CB77.6C1EA8C8@hackfurby.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 27 Aug 1999, TrouBle wrote:
> OK here i say again...... how can i get pw to run non-root and actually
> update a /etc/master.passwd file, and the pwd.db without running it
> setuid ???
>
> i have a web based perl script that requires the call of pw to make the
> changes to the neccessary master.passwd file and then update the
> database, yet pw and pwd_mkdb require setuid 0 , these are for chrooted
> file systems, called from a cgi under apache, running as nobody. apache
> will not let me setuid to call pw from the cgi scripts... is there a way
> around this and if so how ???
Will `sudo' not work for you?
Jonathan Chen
----------------------------------------------------------------------
When you want to test the depth of a stream,
don't use both feet.
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?Pine.SC5.4.10.9908301307150.2580-100000>
