YPPASSWD(NS) System V NFS (11/30/90) YPPASSWD(NS)
NAME
yppasswd - update user password in network information
service (NIS)
SYNOPSIS
#include <rpcsvc/yppasswd.h>
yppasswd(oldpass, newpw)
char *oldpass;
struct passwd *newpw;
DESCRIPTION
If oldpass is indeed the old user password, this routine
replaces the password entry with newpw. If successful, zero
is returned.
RPC INFO
program number:
YPPASSWDPROG
xdr routines:
xdrppasswd(xdrs, yp)
XDR *xdrs;
struct yppasswd *yp;
xdryppasswd(xdrs, pw)
XDR *xdrs;
struct passwd *pw;
procs:
YPPASSWDPROCUPDATE
Takes struct yppasswd as argument and returns integer.
Same behavior as yppasswd() wrapper.
Uses UNIX authentication.
versions:
YPPASSWDVERSORIG
structures:
struct yppasswd {
char *oldpass; /* old (unencrypted) password */
struct passwd newpw; /* new pw structure */
};
SEE ALSO
yppasswd(NC), yppasswdd(NADM)
Page 1 (printed 7/1/91)