Perl: the Markov chain saw | |
PerlMonks |
Re: send su password in sshby ctilmes (Vicar) |
on Sep 27, 2010 at 21:53 UTC ( [id://862310]=note: print w/replies, xml ) | Need Help?? |
I agree with the discomfort expressed by sundialsvc4 about doing it at all, but with that caveat, if you do need/want to do it that way, use the SSH facilities to limit the use of the key to come from only a specific IP address, and only allow it to be used to run a specific command.
In Section
Seekers of Perl Wisdom
|
|