Re: How to create user account?

From: Date: Fri, 30 Mar 2001 01:19:04 +0000
Subject: Re: How to create user account?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-46209@lists.php.net to get a copy of this message
> 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..

« previous php.general (#46209) next »