ypmixer(1M) ypmixer(1M)
NAME
ypmixer - update /etc/passwd, /etc/shadow and /etc/group from the NIS
maps (old procedure)
SYNOPSIS
/var/yp/ypmixer -c map [-t tofile] [-s shadowfile] [-a] [-v] [-f]
[-N | -C]
DESCRIPTION
The ypmixer command updates 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 administration host always update their
own local files if the maps are created again on the network adminis-
tration host following changes to the ASCII source files
(/etc/yppasswd or /etc/ypgroup).
OPTIONS
-c map
map can be passwd or group. In the case of passwd, the local
/etc/passwd and /etc/shadow files are updated, and in the case of
group the local /etc/group file.
-t tofile
-s shadowfile
The global and local user entries are merged temporarily in
/etc/ptmp, shadow entries in /etc/stmp, and the group entries in
/etc/gtmp. The temporary files are copied to /etc/passwd,
/etc/shadow or /etc/group when the merge process has ended.
This option allows other names to be specified for the temporary
files.
-a The merge process takes account of /var/yp/pwpattern as it is
carried out.
-v ypmixer outputs messages to support testing.
-f The merge process also takes place if the local file is newer
than the NIS map.
-N The name of the home directory of a global user is transferred
unchecked to the local user entry.
Page 1 Reliant UNIX 5.44 Printed 11/98
ypmixer(1M) ypmixer(1M)
-C The home directory of a global user is produced if it does not
yet exist and the global user entry is transferred to the local
/etc/passwd file.
ypmixer is generally invoked with the map2system(1M) command, if the
old procedure for global user administration (GLOBALPW=yes or auto 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
ypmixer must not be called on a system, on which the new procedure for
global user administration has been selected.
FILES
/etc/passwd
/etc/opasswd
/etc/shadow
/etc/oshadow
/etc/group
/etc/ogroup
/var/yp/suppressrebuild
/etc/default/inet
SEE ALSO
map2system(1M), newpasswd(1M), ypinit(1M), group.local(4),
passwd.local(4).
Page 2 Reliant UNIX 5.44 Printed 11/98