in reply to Running Commands From Web

Hi bobrobclob,

Your problem isn't terribly clear - which part are you having trouble with:

- running a system command from a CGI script (a CGI script is a Perl program which can be run from a web page)?

- using SSH (maybe from Perl)?

- something else?

And is the server that you're trying to run 'adduser' on, the same server that the CGI script and the webserver are running on? (It is, right?)

If you can expand on your problem a bit, I'm sure someone'll be able to help.

All the best, andye.

Update: I read the question again... it's a permissions problem? The user that the webserver runs as doesn't have the privileges to run the sytem command? If so, you might want to look at suidperl and perlman:perlsec.