[99454] in RedHat Linux List

home help back first fref pref prev next nref lref last post

RE: UID for CGI program

daemon@ATHENA.MIT.EDU (Ronnie Thum)
Sat Nov 14 11:11:56 1998

Date: Sun, 15 Nov 1998 00:12:16 +0800 (MYT)
From: Ronnie Thum <cwthum@network2.cs.usm.my>
To: RedHat Mailing List <redhat-list@redhat.com>
In-Reply-To: <199811141555.KAA12419@smtp3.erols.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com


I want to write a set of initialisation values to a file so that my
program can read from it and start processing. 
What's suid root ?

Rgds
Ronnie


On Sat, 14 Nov 1998, Charles Galpin wrote:

> But files in /tmp may get removed at some point by a utility ( I forget the 
> name ) that cleans up time periodcally.
> 
> I agree with Joel, that running the web server as root is a very bad idea. 
> If you explain what you are up to, I'm sure we can suggest better 
> alternatives. Even running a particular CGI suid root would be better.
> 
> charles
> 
> ===== Original Message from Joel Arriaza <redhat-list@redhat.com> at 
> 11/14/98 10:37 am
> >>
> >> I want to write to any directory i want. What user can i use (I'm the
> >> root).
> >
> >This is "not" correct, your are opening a gate, so anybody will be able
> >to gain root access.
> >
> >But if you want to...
> >Edit the file /etc/httpd/conf/httpd.conf
> >and find the User/Group lines and replace the
> >user "nobody" for "root"
> >restart your httpd daemon and your done!!!
> >
> >
> >> Will files in the /tmp be deleted once Linux is shutdown.
> >
> >No, thet won't
> 
> -- Charles Galpin   <cgalpin@lighthouse-software.com>
> 
> 
> -- 
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> 		http://www.redhat.com http://archive.redhat.com
>          To unsubscribe: mail redhat-list-request@redhat.com with 
>                        "unsubscribe" as the Subject.
> 


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post