yppasswd(3R)

yppasswd - update user password in NIS database

As shipped in IRIX 6.5.19. Unchanged since IRIX 6.5.

NAME
     yppasswd - update user password in NIS database

SYNOPSIS
     #include <rpcsvc/yppasswd.h>

     yppasswd(char *oldpass, struct passwd *newpw);

DESCRIPTION
     If oldpass is indeed the old user password, this routine replaces the
     password entry with newpw.  It returns 0 if successful.

RPC INFO
     program number:
          YPPASSWDPROG
     xdr routines:
          xdr_ppasswd(XDR *xdrs, struct yppasswd *yp);
          xdr_yppasswd(XDR *xdrs, struct passwd *pw);
     procs:
          YPPASSWDPROC_UPDATE
               Takes struct yppasswd as argument, returns integer.
               Same behavior as yppasswd() wrapper.
               Uses UNIX authentication.
     versions:
          YPPASSWDVERS_ORIG
     structures:
          struct yppasswd {
               char *oldpass; /* old (unencrypted) password */
               struct passwd newpw;     /* new pw structure */
          };

NOTE
     To compile and link a program that calls this routine, follow the
     procedures for section (3R) routines as described in intro (3).

SEE ALSO
     yppasswd(1), rpc.passwd(1M)