Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ yppasswd(3X) — GL2 W3.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

yppasswd(1)

rpc.passwd(1M)

YPPASSWD(3X)  —  Silicon Graphics

NAME

yppasswd − update Yellow Pages user password

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. It returns 0 if successful.

RPC INFO

program number:
YPPASSWDPROG

xdr routines:
xdr_passwd(xdrs, yp)
XDR *xdrs;
struct yppasswd *yp;
xdr_yppasswd(xdrs, pw)
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 */
};

FILES

/usr/lib/librpcsvc.aRPC services library
/usr/lib/libsun.aRPC protocol library

SEE ALSO

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

NOTE

To compile and link a program that calls any of these routines, use a compile command of the form:

cc −I/usr/include/sun −I/usr/include/bsd prog.c −lrpcsvc −lsun −lbsd

Version 3.6  —  December 20, 1987

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