Keep It Simple, Stupid | |
PerlMonks |
Re^2: log the ip of the executorby Fletch (Bishop) |
on Apr 20, 2006 at 12:05 UTC ( [id://544575]=note: print w/replies, xml ) | Need Help?? |
Of course if the user can in any way manipulate the environment SSH_CLIENT would be of no use. Only trust it if the user can only run this one command via ssh (e.g. using OpenSSH's ability to limit what a user can run via the ~/.ssh/authorized_keys file), and then I'd still be paranoid.
In Section
Seekers of Perl Wisdom
|
|