Technical article 105003

uname(C) and getserno(C) do not return my OpenServer License Number.

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5OpenServer 5.0.6

Written · Last revised

Problem

The uname(C) and getserno(C) commands do not return the License Number (known as serial number in previous versions of SCO operating systems) of my SCO OpenServer Release 5 system.

Cause

The /unix kernel and related files are only branded with the License Number of the SCO OpenServer operating system at the time of installation.

If you upgrade your system or re-license it with a new License Number after installation, the new License Number will not be branded onto the /unix kernel.

Solution

This behavior is considered correct as some applications use either uname(C) or getserno(C) to copy protect their software. If the License Number of the /unix kernel was changed as part of an upgrade from, for example, SCO OpenServer Host to SCO OpenServer Enterprise Release 5.0.x, there is a possibility that the application software would refuse to run.

However, if you wish to update the License Number information
in the kernel, you can use the SCO OpenServer 5 License
Number, Code, and Data,along with the brand(ADM) command to
accomplish this.  For instance,

/etc/brand -a "<License Data>" <License Number> <License Code> /stand/unix

rebrands the default kernel.  To rebrand all kernels to be
built in the future, rebrand the module /etc/conf/pack.d/kernel/os.a:

/etc/brand -a "<License Data>" <License Number> <License Code> /etc/conf/pack.d/kernel/os.a

See IT/os 90 for information how to "serialize" the kernel, and other files.

Note: the default kernel is usually located in the /dev/boot
filesystem, mounted read-only at the /stand directory.  Thus
the first rebranding example above can only be carried out by first
unmounting and then re-mounting /dev/boot _without_ the "-r"
option.

From the Xinuos technical article database, record 105003. Reproduced with permission. The original is at www.sco.com/ta/105003, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.