Friday, August 8, 2008

How to read Sun machine serial number remotely ?

Use sneep: Serial Number in EEPROM.

More information can be found here.

The catch is, you first need to set the serial number, which will stay stored in the system across reboots/reinstalls, like so:

/opt/SUNWsneep/bin/setcsn -c 12345678

Where 12345678 is a valid serial number.

Running: /usr/sbin/sneep will then return the serial number.

No comments: