Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ yppasswd(3R) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

yppasswd(1)

rpc.passwd(1M)



YPPASSWD(3R)                                                      YPPASSWD(3R)



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) Page 1

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026