> How can I use exec() to create user account?
> I try to use exec("useradd testusr");
> but nothing happens,
> I have set the permission of useradd to 7777 (chmod 7777 useradd) but
still
> can't do the desired operation!!

Are you sure the user who is trying to create the user has permissions to
all the necessary files ( /etc/{passwd,group,shadow} ) etc. ?  Given that it
appears your on a linux box, are you using a kernel version that supposed
set{u,g}id apps?

few issues..

some more details as to how you are trying to use PHP would be helpful..



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to