On Wed, 9 Feb 2000, Matt Sergeant wrote:

> Anyone got any good ideas on picking up a site-unique MAC secret. What I
> need is something that won't change over server software upgrades, but
> isn't hard coded. At the moment I've picked:
> 
> use Config;
> my $secret = Config->myconfig;
> 
> (output of perl -V)
> 
> But it's sensitive to perl upgrades. I'm pretty certain there must be
> _something_ I can use. I'm thinking perhaps of join('', `ls -la
> $some_dir_created_on_install`), but again, the sysadmin could easily
> inadvertently touch something in that dir.

Is hostid cross-platform? Lots of software that I've seen for Sun systems
are hostid protected.

-- 
-- Tom Mornini
-- InfoMania Printing and Prepress

Reply via email to