yppasswd.3yp

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 3YP 代码 · 共 57 行

3YP
57
字号
.\" SCCSID: @(#)yppasswd.3yp	8.1	9/11/90.TH yppasswd 3yp./" Last edited by Jeff J. 6/18/86.SH Nameyppasswd \- update user password in yellow pages password map..SH Syntax.nf.B #include <rpcsvc/yppasswd.h>.PP.B yppasswd(\fIoldpass, newpw\fP).B char \fI*oldpass\fP;.B struct passwd \fI*newpw\fP;.fi.SH Description.NXR "yppasswd subroutine".NXAM "yppasswd subroutine" "yppasswdd daemon".NXR "password" "updating in YP map"The .PN yppasswdroutine uses Remote Procedure Call (RPC) and External Data Representation (XDR) routines to update a user password in a Yellow Pages password map.  The RPC and XDR elements that are used arelisted below under the RPC INFO heading..PPIf.I oldpassis indeed the old user password,this routine replaces the password entry with.I newpw.It returns 0 if successful..SS RPC Information.nfprogram number:	YPPASSWDPROGxdr routines:	xdr_ppasswd(xdrs, yp)		XDR *xdrs;		struct yppasswd *yp;	xdr_yppasswd(xdrs, pw)		XDR *xdrs;		struct passwd *pw;procs:	YPPASSWDPROC_UPDATE		Takes \fIstruct yppasswd\fP as argument, returns integer.		Same behavior as \fIyppasswd()\fP wrapper.		Uses UNIX authentication.versions:	YPPASSWDVERS_ORIGstructures:	struct yppasswd {		char *oldpass;	/* old (unencrypted) password */		struct passwd newpw;	/* new pw structure */	};.fi.SH See Alsoyppasswd(1yp), yppasswdd(8yp)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?