Hey all, I am working on a CGI script where I need it to change a users postfix password. At the moment my script runs as apache and I really need to issue this command...
system("echo $password | /usr/bin/sudo passwd --stdin $username"); This command works from a Unix prompt but doesn't work from the CGI script. Now for testing purposes only both apache and myself have full control to be able to issue this commnand. The problem is it won't change. Any one have any ideas on how I could do this or any other ways I could accomplish this? Regards, Dan ============================== VINTEK CONSULTING PTY LTD (ACN 088 825 209) Email: [EMAIL PROTECTED] WWW: http://www.vintek.net Tel: (08) 8523 5035 Fax: (08) 8523 2104 Snail: P.O. Box 312 Gawler SA 5118 ============================== -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]