yppasswdd(1Mnis)


yppasswdd -- server for modifying NIS password file

Synopsis

/usr/lib/netsvc/yp/rpc.yppasswdd passwdfile shadowfile [-nogecos]
[-noshell] [-nopw] [-m argument1 argument2 . . .]

Description

yppasswdd is an Network Information Service (NIS) server that handles password change requests from yppasswd(1nis). It changes a password entry in passwdfile and shadowfile, which are assumed to be in the format of passwd(4) and shadow(4).

Files

/var/yp/Makefile

/etc/passwd

/etc/shadow

/etc/init.d/nis

Usage

passwdfile is the password file that provides the basis for the passwd.byname and passwd.byuid maps. shadowfile is where the encrypted passwords are kept, which are needed to create password maps.

When passwdfile and shadowfile are the server's /etc/passwd and /etc/shadow files, the creatiadb(1M) command will be used to update the I&A security database. However, since they contain an entry for the super user, it is recommended that these files not be used.

If the -noshell, -nogecos, or -nopw options are given, then these fields may not be changed remotely using yppasswd(1nis) or passwd(1).

If the -m option is given, then after passwdfile is modified, a make(1) will be performed in /var/yp. Any arguments following the flag will be passed to make.

This server is not run by default, nor can it be started up from the /etc/init.d/nis init script.

Warnings

The password file specified to rpc.yppasswdd may not be a link.

References

creatiadb(1M), make(1), passwd(1), passwd(4), shadow(4), ypbuild(1Mnis), ypfiles(4nis), yppasswd(1nis)

Examples

If the NIS password and shadow files are stored as /var/yp/passwd and /var/yp/shadow, then to have password changes propagated immediately the server should be invoked as:

/usr/lib/netsvc/yp/rpc.yppasswdd /var/yp/passwd -m passwd DIR=/var/yp


30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.