
juneym
Deleted
Nov 8, 2000, 3:28 AM
Post #1 of 2
(295 views)
|
|
adding new e-mail users..
|
Can't Post
|
|
I'm creating a script that should execute the /usr/sbin/useradd to enable adding via a web interface. The problem is it cannot properly do a system() function when running via CGI. When I check the returned value of the system() function, its 0 = successfully added , 2000+ = error (running via a shell) & 127 = via a CGI. How can I do the job? Please show me some code.. thanks!! email your answer to juney20@yahoo.com
|