in reply to
Perl CGI SUDO -> SSH -> Command
If you are really root, you probably don't need sudo at all. Just tell ssh to authenticate using the user's private key. For instance:
ssh -i /home/user/.ssh/id_dsa host
[download]
Comment on
Re: Perl CGI SUDO -> SSH -> Command
Download
Code
In Section
Seekers of Perl Wisdom