Re: exec command

From: Date: Wed, 01 Oct 2003 15:41:39 +0000
Subject: Re: exec command
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-164565@lists.php.net to get a copy of this message
so when i use php exec to do it , am i using apache user (nobody) or am i using php user , is there a php user ? so what can i do ? i want to execute #useradd -d /home/all -g wahtever -s /bin/false newuser as i want to create only pop user on the system when my user make regestration.. to give him an email account any comment ? "Ray Hunter" <bigdog@venticon.com> wrote in message news:1065017175.28930.20.camel@bigdog.info.trw.com... > > I want to execute > > #useradd -d /home/all -g wahtever -s /bin/bash newuser > > You have to be root to add a user to the system...and just a heads > up...you might want to rethink doing this from apache or php. The > security implications alone make me cringe. > > -- > Ray

« previous php.general (#164565) next »