----- Original Message ----- From: "Michael Chaney" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 28, 2001 6:56 PM Subject: Re: [plug] su programatically
> On Wed, Nov 28, 2001 at 03:38:59PM +0800, CYWare wrote: > > > > Is there anyway to login as root and perform a few privileged actions from > > within a CGI program? I want to be able overwrite a file owned by root, as > > well as perform other "root only" tasks, from within my CGI program. > > > > We use C++ for CGI programming, so the approach would also have to use C or > > C++. TIA. > > This is going to sound harsh, but I assure you that's not my intention. > Generally, if you have to ask about writing a suid program, it's a bad > idea. It's a bad idea to use suid with CGI, anyway, there are just too > many security bases to cover. I would strongly suggest that you seek an > alternative method to accomplish the same thing. freebsd version 5 will answer your question but wait until it will release. fooler. _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
