Nov 8, 2000, 3:36 AM
Post #1 of 1
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..
in need of help regarding PERL coding
email your answer to email@example.com