Nov 8, 2000, 3:28 AM
Post #1 of 2
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..
adding new e-mail users..
email your answer to firstname.lastname@example.org