Date: Fri, 3 Apr 1998 02:13:51 +0800 (SGT) From: chas <panda@peace.com.my> To: freebsd-questions@FreeBSD.ORG Subject: How can CGI script execute root commands or edit root-owned files ? Message-ID: <3.0.32.19980403023610.009a1ad0@peace.com.my>
next in thread | raw e-mail | index | archive | help
Since a CGI script is executed with Nobody's (the web server's) privilegies, how it can run Administrator commands like useradd ? 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. Cheers, Chas 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?3.0.32.19980403023610.009a1ad0>