I hope someone can help me out here. Im running an email system on a website and when a user registers for an account, I want to be able to add them automatically. Right now I need to add them in manually. Im running on a linux machine with apache/php/perl/python. The problem is I have a program sitting in a certain directory with root permissions. I need to send 5 or 6 arguments to the program and write out the results. Ive tried executing ssh through php and sending the arguments that way, but i cant seem to change to root and/or change to the directory and run the program. Im not too familiar with all the cpan modules for perl, so ive been trying to do this mostly through php. Does anyone have any ideas or know somewhere that might give me some info on this subject.
thanks