yppasswd(NS) 6 January 1993 yppasswd(NS) Name yppasswd - update user password in Network Information Service (NIS) Syntax #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: xdr_ppasswd(xdrs, yp) XDR *xdrs; struct yppasswd *yp; xdr_yppasswd(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) and yppasswdd(NADM).