Re: adding unix account via system command

From: Date: Thu, 19 Sep 2002 23:57:22 +0000
Subject: Re: adding unix account via system command
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-116955@lists.php.net to get a copy of this message
Dear Marek, Where do find that? I am no C programmer. -- tim --- Marek Kilimajer <kilimajer@webglobe.sk> wrote: > It's a shell script, and your shell drops root privileges. Use a shell > that doesn't or use a C-wraper. > > tim tom wrote: > > >Dear Pete, > >Yes, apache runs as nobody. But I have setuid add.sh. Wouldn't that be sufficient ? > > > >-- > >tim > > > >--- Peter Houchin <php@vfsa.com.au> wrote: > > > > > >>you need to make sure that the web has permission to use that file .. my > >>guess is it don't have permission hence why you can run add.sh from the > >>command line (where your not your web user I'm assuming). > >> > >> > >> > > > > > >__________________________________________________ > >Do You Yahoo!? > >Yahoo! Autos - Get free new car price quotes > >http://autos.yahoo.com > > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com

« previous php.general (#116955) next »