HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)

y
yppasswdd(1M) yppasswdd(1M)
EXAMPLES
Assume the yppasswdd daemon is started on the master NIS server as follows:
/usr/lib/netsvc/yp/rpc.yppasswdd /var/yp/src/passwd \
-l /var/adm/yppasswdd.log \
-m passwd DIR=/var/yp/src
/usr/lib/netsvc/yp/rpc.yppasswdd -D /opt \
-l /var/adm/yppasswdd.log \
This indicates that the ASCII file from which the NIS passwd database is built is
/var/yp/src/passwd
. When this file is updated by a request from
yppasswd, the NIS passwd data-
base is rebuilt and copied to all slave NIS servers in the masters NIS domain (see domainname(1)).
Log messages are written to the file
/var/adm/yppasswdd.log
.
WARNINGS
yppasswdd uses lock file /var/adm/ptmp
to get exclusive access to passwd_file when updating it.
The file
/var/adm/ptmp
may persist if passwd_file is being updated and
The system crashes or
yppasswdd is killed using SIGKILL (see kill(1) and signal(2)).
File /var/adm/ptmp must be removed before
yppasswdd can function properly again.
vipw also uses /var/adm/ptmp when updating
/etc/passwd (see vipw(1M)). As a result,
yppasswdd competes with vipw when it updates passwd_file if passwd_file is /etc/passwd
.
AUTHOR
yppasswdd was developed by Sun Microsystems, Inc.
FILES
/var/adm/ptmp
lock file used when updating passwd_file
SEE ALSO
domainname(1), kill(1), yppasswd(1), inetd(1M), vipw(1M), ypmake(1M), signal(2), yppasswd(3N),
passwd(4), publickey(4), ypfiles(4), pwconv(1M), pwunconv(1M), shadow(4).
680 Hewlett-Packard Company 2 HP-UX 11i Version 3: February 2007