change-sun-hostid 1.6.0 is now available from
The main new feature of version 1.6.0 is support for Solaris 2.5.
Solaris 2.3 and 2.4 users, please note the changes in the
instructions for the loadable sethostid calls. You must uncomment the
-DPRE_SOLARIS_2_5 flag in the makefile, or the results will be
For those who are unfamiliar with change-sun-hostid, here's a brief
Ever been up at 3am on Monday morning trying to move an essential
application from one piece of hardware to another and been unable to
do it because you'll need a new licence key from your vendor and they
don't give them out at weird hours? Well, here's a solution that
works in many cases. It allows you to modify the value returned by
gethostid/sysinfo for the hostid on Solaris 1.x and 2.3/4/5
This package can also be used to reprogram a new NVRAM chip if your
NVRAM fails for some reason. In particular the NVRAM on the Sun 3/80
and all sun4c machines (Sparc 1,1+,2,IPC,ELC,IPX,etc.) will fail
after a relatively short period of time. See nvram.info if you need
to do this.
The kit contains scripts/programs to do this using four different
approaches. These are (pretty much in the order of severity and danger):
1. Use shared libraries to modify the value returned by gethostid/sysinfo
for a particular group of dynamically linked executables. Does not
work for statically linked executables.
2. Modify the in-core image of the kernel so that all processes on a running
Solaris system will see a different hostid via gethostid/sysinfo.
3. Build a new kernel on which certain processes running on a Solaris 1.x
system will see a different hostid which can be set by a new
4. Reprogram your NVRAM so that you really have changed your hostid.
Please don't use these programs to steal software or to violate your
licence agreements with software vendors. The intended use is for
emergency situations where an application has to be moved from one
computer to another (e.g. in the event of a hardware malfunction) and
licence keys cannot be obtained quickly from the vendor or when your
NVRAM gets wiped out by some unfortunate accident.
USE AT YOUR OWN RISK.
ViaCrypt PGP Key Fingerprint: 21 F6 AF 2B 6A 8A 0B E1 A1 2A 2A 06 4A D5 92 46
cryptography archive maintainer -- ftp://ftp.wimsey.com/pub/crypto