This article is from a FAQ concerning SCO operating
systems. While some of the information may be applicable to any OS,
or any Unix or Linux OS, it may be specific to SCO Xenix, Open
Desktop or Openserver.
There is lots of Linux, Mac OS X and general Unix info elsewhere on
this site: Search this site is the best
way to find anything.
For the OS itself, you can use uname. For Unix, use uname -X; it will print (among other items) the serial number. For Xenix (at least 2.3.3, and probably other releases), uname -u will print the numerical portion (e.g. if your serial number is sco012345, it will print 12345). That can be wrong however- if you reserialized after installation, it will show the serial number you installed with.
Starting in Unix 3.2v4.2/ODT 3.0, SCO added /etc/getserno. To find out the serial number of a package, first find out what files are serialized in that package using grep ser= /etc/perms/* (or /etc/perms/packagename if you know it). Then, run /etc/getserno filename, where filename is the name of one of the files that is serialized during installation. Note that not all files listed may actually contain a textual representation of the serial number (for example, none of the binaries in the Unix dev sys do).
You can use the scoadmin license manager on OSR5 and UW7 to see serial numbers.
As a special case, the serial number of the OS itself can be found simply by watching the kernel ID it displays at boot time (or look through /usr/adm/messages for it) (no longer true on modern releases).
Roberto Zini:
If one's interested in finding out the original activation key issued during the OpenServer 5 installation (eg, widely used here before submitting a commercial upgrade order), one could retrieve it by using the following command:
grep IQM_ACTIVATION_KEY /usr/adm/ISL/iqm_file
Alternatively, try with the following:
grep IQM_ACTIVATION_KEY /opt/softmgmt/profiles/standard/SCO/Unix/*/iqm_file
where '*' is the actual OS5 version (eg, 5.0.5Eb)
Under SCO Unix 3.2v4.2:
grep IQM_ACTIVATION_KEY /install/iqm_file
Under SCO UnixWare 7:
grep ActKey /vad/adm/isl/ifile
/SCOFAQ/FAQ_scotec1getserno.html copyright 1997-2003 (various) All Rights Reserved
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Click here to add your comments
Thu Aug 24 07:20:16 2006: Subject: Only works on 5.0.x previous to 5.0.6 anonymous
The data extracted from 5.0.6+ is modified in some way and won't work to do a reinstall of 5.0.6 at the very least.
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar