YPPASSWD

Section: RPC Services Library (3R)
Updated: 10 August 1985
Index Return to Main Contents
 

NAME

yppasswd - update user password in yellow pages  

SYNPOSIS

#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_ppasswd(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 */
        };
 

SEE ALSO

yppasswd(1), yppasswdd(8C)


 

Index

NAME
SYNPOSIS
DESCRIPTION
RPC INFO
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 13:50:50 GMT, September 25, 2024