Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ yppasswd(3N) — HP-UX 8.07

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

yppasswd(1)

yppasswdd(1M)

yppasswd(3N)

Requires Optional NFS Services Software

NAME

yppasswd − update user password in Network Information Service

SYNOPSIS

#include <pwd.h>
#include <rpcsvc/yppasswd.h>

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

DESCRIPTION

If oldpass is the old, unencrypted user password, this routine replaces the password entry with the encrypted newpw.

RPC Info

program number:
YPPASSWDPROG

xdr routines:
xdr_yppasswd(xdrs, yp)
   XDR *xdrs;
   struct yppasswd *yp;
xdr_passwd(xdrs, pw)
   XDR *xdrs;
   struct passwd *pw;
procs:
YPPASSWDPROC_UPDATE
   Takes struct yppasswd as an argument; returns an integer.
   Behaves the same as the yppasswd() function.
   Uses UNIX authentication.
versions:
YPPASSWDVERS

structures:
struct yppasswd {
   char *oldpass;/* old (unencrypted) password */
   struct passwd newpw;/* new pw structure */
};

EXTERNAL INFLUENCES

International Code Set Support

Single-byte character codes sets are supported. 

RETURN VALUE

yppasswd() returns 0 if successful and −1 if an error occurs.

AUTHOR

Sun Microsystems, Inc. 

SEE ALSO

yppasswd(1), yppasswdd(1M). 

Hewlett-Packard Company  —  HP-UX Release 8.05: June 1991

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