[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Script Test [OT]
- From: "Patrick O'Callaghan" <pocallaghan gmail com>
- To: fedora-list redhat com
- Subject: Re: Script Test [OT]
- Date: Sat, 06 Sep 2008 08:34:54 -0430
On Sat, 2008-09-06 at 02:27 -0600, kwhiskerz wrote:
> This is OT, but perhaps someone knows an answer.
>
> Is there a way a script can determine which computer it is running on and
> refuse to run if it is on the wrong computer?
How paranoid do you want to be? If the question is how to avoid
accidentally running something on the wrong machine, then the answer is
easy (check hostname, ip address, ...). If you want to avoid a malicious
computer running it, I doubt it can be done reliably.
So it's either easy or impossible.
poc
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]