Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.4: Another way to view the Server serial number OS X Server
You can obtain the Mac OS X Server serial number (for Tiger) via the command line. At the Terminal on the server itself (or via ssh if you wish), type:
more /etc/systemserialnumbers/xsvr
Press Return, and you should see the serial number displayed. I can't help but think that this could be made more secure rather than being stored as clear text.
    •    
  • Currently 2.50 / 5
  You rated: 2 / 5 (12 votes cast)
 
[26,042 views]  

10.4: Another way to view the Server serial number | 8 comments | Create New Account
Click here to return to the '10.4: Another way to view the Server serial number' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Another way to view the Server serial number
Authored by: sapridyne on Jul 13, '06 10:39:37AM

You have to be root to do this. Is that not secure enough for you?

Sapridyne



[ Reply to This | # ]
10.4: Another way to view the Server serial number
Authored by: charlietuna on Jul 13, '06 12:30:47PM

Whose security does it affect? My data or Apple's?



[ Reply to This | # ]
10.4: Another way to view the Server serial number
Authored by: rootpoot on Jul 14, '06 05:29:50AM

If someone can read your root-owned files, I'd say that's a pretty big security problem for you.



[ Reply to This | # ]
10.4: Another way to view the Server serial number
Authored by: encro on Jul 14, '06 08:08:26AM
/System/Library/ServerSetup/SerialNumber
root not required.

---
Steve

[ Reply to This | # ]

10.4: Another way to view the Server serial number
Authored by: jay1 on Jul 14, '06 08:15:12AM

Hi Steve,

The serial number that you are referring to is not the same as the one I originally posted. Your serial number is for the Mac hardware. The serial number I mention is to do with the Mac OS X Server Software serial key.

---
-J-



[ Reply to This | # ]
10.4: Another way to view the Server serial number
Authored by: seeker on Jul 15, '06 03:41:42PM

If you lost access to your serial number because of an MLB replacement, this won't work. Tried it and it returned - No such file or directory

bob



[ Reply to This | # ]
Ditto on that last comment
Authored by: Gnarlodious on Jul 15, '06 07:15:42PM

Ditto on that last comment, same here. Apple replaced my Main Logic Board (MLB) and no serial number.



[ Reply to This | # ]
10.4: Another way to view the Server serial number
Authored by: Rake on Sep 19, '10 06:51:01PM

I know it's a grave dig, but anyway.

Just tried this on 10.6.4, and works fine. :) Very handy tip for those who've lost the blue-top cards in the packaging, since Server Admin hides the last 4 characters.

If it works on Tiger and Snow, I'd figure it'd be a sure bet for Leopard as well.



[ Reply to This | # ]