Technical article 109823

Password expiration information is not exported to slave systems for NIS accounts.

OpenServer 5.0.4

Written · Last revised

Problem

Password expiry has been set up on an account on the NIS master, but this information does not appear to be exported to the slave systems.

For example, when the password expires on the master, is does not expire on the slave.

Solution

Only a subset of the user account information is exported via NIS.

The following excerpt from the usermod(ADM) manual page describes this:

For distributed accounts, only the user name, comment, password, login shell, home directory, login group, group membership, password, and lock status are valid across the network. For example, you cannot set the maximum number of failed login attempts for a distributed user on a remote system (it only takes effect on the master server).

See also

The manual page for usermod(ADM).

From the Xinuos technical article database, record 109823. Reproduced with permission. The original is at www.sco.com/ta/109823, 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.