.\" @(#)yppasswd.3r 1.1 85/12/28 SMI; new on release 3.0 .TH YPPASSWD 3R "10 August 1985" .SH NAME yppasswd \- update user password in yellow pages .SH SYNPOSIS .ft B .nf #include <rpcsvc/yppasswd.h> .sp .5 yppasswd(oldpass, newpw) char *oldpass struct passwd *newpw; .fi .SH DESCRIPTION If .I oldpass is indeed the old user password, this routine replaces the password entry with .IR newpw . It returns 0 if successful. .SH RPC INFO .nf program number: YPPASSWDPROG .sp .5 xdr routines: xdr_ppasswd(xdrs, yp) XDR *xdrs; struct yppasswd *yp; xdr_yppasswd(xdrs, pw) XDR *xdrs; struct passwd *pw; procs: YPPASSWDPROC_UPDATE Takes \fIstruct yppasswd\fP as argument, returns integer. Same behavior as \fIyppasswd()\fP wrapper. Uses UNIX authentication. versions: YPPASSWDVERS_ORIG .sp .5 structures: struct yppasswd { char *oldpass; /* old (unencrypted) password */ struct passwd newpw; /* new pw structure */ }; .fi .SH SEE ALSO yppasswd(1), yppasswdd(8C)