Technical article 105083

How do I set the Protected Password Database as the Master in OpenServer 5?

OpenServer 5.0.0

Written · Last revised

Problem

In previous releases of SCO UNIX software, the Sysamdsh(ADM) was used to control which password entity, the protected password database or /etc/password, was considered the "master" file in the event that discrepancies developed between the two files.

However, I do not see this functionality in the SCOAdmin(F) Account Manager utility in SCO OpenServer Release 5.

How do I control which password entity is the master file in the event of password file corruption?

Solution

Setting the master password file is a command line option in
SCO OpenServer Release 5.  See the entry for usermod(ADM) for
additional information.

The correct command to enable the protected password (tcb) database as the master is:

# usermod -Dx "{tcbDatabaseIsMaster 1}"

The correct command to disable this functionality is:

# usermod -Dx "{tcbDatabaseIsMaster 0}"

This sets /etc/passwd as the master file, which is system default.

As a final note, the information comes from the file:

/etc/auth/system/default

However, it is strongly recommended that you use the libprot APIs to manipulate this file, or the command line, and not edit the files themselves.

See also

manual page entries for: scoadmin(F), useradd(ADM).

From the Xinuos technical article database, record 105083. Reproduced with permission. The original is at www.sco.com/ta/105083, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

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.