Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Apr 1998 17:46:34 -0500 (EST)
From:      Tim Gustafson <guff@falconsoft.com>
To:        chas <panda@peace.com.my>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: How can CGI script execute root commands or edit root-owned  files ?
Message-ID:  <Pine.BSF.3.96.980402174515.29543A-100000@falconsoft.com>
In-Reply-To: <3.0.32.19980403023610.009a1ad0@peace.com.my>

next in thread | previous in thread | raw e-mail | index | archive | help
> One suggestion I've had was running the webserver
> as root but this seems to be considered
> not a good thing by and large. I was just looking
> at updating user records and DNS records in such
> a manner.

how about installing the suexec wrapper on the server, and then setting
the particular site's user to root?  that way other people on the site
can't use root's privelages, but you can?  I don't know if this is even
possible since suexec might not allow it, but it's a thought.

tim



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.BSF.3.96.980402174515.29543A-100000>