United States-English |
|
|
HP-UX Reference > Yyppasswd(3N)HP-UX 11i Version 3: February 2007 |
|
NAMEyppasswd() — update user password in Network Information Service SYNOPSIScc [ flag... ] file... -lnsl [ library... ] #include <pwd.h> #include <rpcsvc/yppasswd.h> int yppasswd(char *oldpass, struct passwd *newpw); DESCRIPTIONIf oldpass is the old, unencrypted user password, this routine replaces the password entry with the encrypted newpw. RPC InfoProgram number: YPPASSWDPROG XDR routines: xdr_yppasswd(xdrs, yp) XDR *xdrs; struct yppasswd *yp; xdr_passwd(xdrs, pw) XDR *xdrs; struct passwd *pw; Procs:
Versions: YPPASSWDVERS Structures: struct yppasswd { char *oldpass; /* old (unencrypted) password */ struct passwd newpw; /* new pw structure */ }; MULTITHREAD USAGE
These functions can be called safely in a multithreaded environment. They may be cancellation points in that they call functions that are cancel points. In a multithreaded environment, these functions are not safe to be called by a child process after fork() and before exec(). These functions should not be called by a multithreaded application that support asynchronous cancellation or asynchronous signals. |
Printable version | ||
|