Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ newpasswd(1M) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

map2system(1M)

ypinit(1M)

ypmixer(1M)

group.local(4)

passwd.local(4)

newpasswd(1M)                                                 newpasswd(1M)

NAME
     newpasswd, newgroup - update /etc/passwd, /etc/shadow and /etc/group
     from the NIS maps (new procedure)

SYNOPSIS
     /usr/sbin/newpasswd [-D | -C]

     /usr/sbin/newgroup

DESCRIPTION
     The newpasswd and newgroup commands update the local /etc/passwd and
     /etc/shadow or /etc/group files from the NIS server maps.

     Commands and library functions in Reliant UNIX do not generally access
     the NIS server if they are reading or modifying data from /etc/passwd,
     /etc/shadow or /etc/group. The global user and group entries are
     therefore merged in the local files.

     This occurs periodically with NIS clients or, in the case of auto-
     update clients, at the instigation of the network administration host.
     Proxy hosts and the network management host always update their own
     local files if the maps are created again on the network administra-
     tion host following changes to the ASCII source files (/etc/yppasswd
     or /etc/ypgroup).

     newpasswd does not update /etc/passwd and /etc/shadow, if the file
     name /etc/passwd is entered in the /var/yp/suppressrebuild file.
     Similarly, newgroup does not update the local /etc/group file, if
     /etc/group is entered in /var/yp/suppressrebuild.

OPTIONS
     -D   If a global user entry is transferred to the local /etc/passwd
          file whose home directory does not exist locally, /tmp is entered
          locally for it.

     -C   If a global user entry is transferred to the local /etc/passwd
          file, whose home directory does not exist locally, it will be
          created.

     The contents of the local files are stored in the /etc/opasswd,
     /etc/oshadow and /etc/ogroup files before the merge process so that
     the original files can be restored easily if errors occur.

     newpasswd and newgroup are generally invoked with the map2system(1M)
     command, if the new procedure for global user administration
     (GLOBALPW=new in /etc/default/inet) has been selected. map2system is
     invoked in turn with cron jobs, which are created with ypinit(1M) when
     NIS is set up.

WARNING
     newpasswd and newgroup must not be called on a system where the old
     procedure for global user administration has been selected.



Page 1                       Reliant UNIX 5.44                Printed 11/98

newpasswd(1M)                                                 newpasswd(1M)

FILES
     /etc/passwd
     /etc/opasswd
     /etc/shadow
     /etc/oshadow
     /etc/group
     /etc/ogroup
     /var/yp/suppressrebuild
     /etc/default/inet

SEE ALSO
     map2system(1M), ypinit(1M), ypmixer(1M), group.local(4),
     passwd.local(4).









































Page 2                       Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026