CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
adding new e-mail users..

 



juneym
Deleted

Nov 8, 2000, 3:28 AM

Post #1 of 2 (331 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


sleuth
Enthusiast / Moderator

Nov 8, 2000, 11:13 AM

Post #2 of 2 (331 views)
Re: adding new e-mail users.. [In reply to] Can't Post

 
Duplicate thread
http://www.perlguru.com/forum/Forum8/HTML/000108.shtml

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives