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

y
yppasswdd(1M) yppasswdd(1M)
NAME
yppasswdd: rpc.yppasswdd - daemon for modifying Network Information Service passwd database
SYNOPSIS
/usr/lib/netsvc/yp/rpc.yppasswdd
passwd_file [-l log_file][
-nogecos][-noshell]
[
-nopw][-nohome][
-m [ arg1 arg2 ... ]]
/usr/lib/netsvc/yp/rpc.yppasswdd
[-D directory][-l log_file][
-nogecos][-noshell]
[
-nopw][-nohome][
-m [ arg1 arg2 ... ]]
Remarks
The Network Information Service (NIS) was formerly known as Yellow Pages (yp). Although the name has
changed, the functionality of the service remains the same.
DESCRIPTION
The
yppasswdd daemon handles password change requests from
yppasswd (see yppasswd(1)). It
changes a password entry in the passwd and shadow files. The passwd and shadow files provide the basis
for the passwd.byname and passwd.byuid maps. Entries in the passwd or shadow files are changed only if
the password presented by
yppasswd matches the encrypted password of the entry. All password files
are located in the PWDIR directory.
If the -D option is given, the passwd or shadow files are placed under the directory path that is the argu-
ment to -D.
yppasswdd should be executed only on the master Network Information Service (NIS) server for the
passwd database (map). The yppasswdd daemon is not executed by default, nor can it be started by
inetd (see inetd(1M)). To enable automatic startup of yppasswdd at boot time, the
NIS_MASTER_SERVER
variable should be set to 1 in file /etc/rc.config.d/namesvrs
on the
master NIS server.
The
yppasswdd daemon in HP-UX 11i version 3 supports the shadow mode. The system can be con-
verted to shadow mode by using pwconv and reverted by using pwunconv. The SHADOW_MODE vari-
able must be set to 1 in file
/etc/rc.config.d/namesvrs
on the master NIS server to support the
shadow mode in NIS.
The server does not insist on the presence of a shadow file unless there is no
-D option present or the direc-
tory named with the
-D option is /etc.
Options
yppasswdd recognizes the following options and command-line arguments:
-l log_file Log diagnostic and error messages to log_file. These messages are not available
if yppasswdd is started without the -l option.
Information logged to the file includes date and time of the message, the host
name, process ID and name of the function generating the message, and the
message itself. Note that different services can share a single log le because
enough information is included to uniquely identify each message.
-nogecos -noshell -nopw -nohome
If these are given, then these fields may not be changed remotely using
passwd. -nohome is HP specific.
-m [ arg1 arg2 ... ] After the password or shadow file is modified, and if using the -m option,
yppasswdd executes make to update the NIS passwd database (see
ypmake(1M)). Any arguments following the -m flag are passed to make.
To ensure that the passwd map is rebuilt to contain the new password and all
slave NIS servers have their passwd maps properly updated to include the
change, always use the -m option to yppasswdd, but do not use the
NOPUSH=1 argument to make.
-D directory The directory input specifies which directory contains the passwd file (and the
shadow file when the system is in shadow mode).
Note that the directory specified must contain the file named "passwd". If sha-
dow mode is enabled, then the directory specified must contain a file called "sha-
dow".
HP-UX 11i Version 3: February 2007 1 Hewlett-Packard Company 679