yppasswd(3R) ONC 5.4.2 yppasswd(3R)
NAME
yppasswd - update user password in Network Information Service
PROTOCOL
/usr/include/rpcsvc/yppasswd.x
DESCRIPTION
The yppasswd protocol is used to change a user's password entry in
the NIS password database.
Programs that use this protocol must be loaded using the flag -l
rpcsvc.
PROGRAMMING
#include <rpcsvc/yppasswd.h>
yppasswd(oldpass, newpw)
char *oldpass
struct passwd *newpw;
If oldpass is indeed the old user password, this routine replaces the
password entry with newpw. It returns 0 if successful.
SEE ALSO
yppasswd(1), yppasswdd(1M).
Licensed material--property of copyright holder(s) 1