Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

yppasswd(3yp) [ultrix man page]

yppasswd(3yp)															     yppasswd(3yp)

Name
       yppasswd - update user password in yellow pages password map.

Syntax
       #include <rpcsvc/yppasswd.h>

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

Description
       The  routine  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 are listed below under the RPC INFO heading.

       If oldpass is indeed the old user password, this routine replaces the password entry with newpw.  It returns 0 if successful.

   RPC Information
       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(1yp), yppasswdd(8yp)

																     yppasswd(3yp)

Check Out this Related Man Page

yppasswd(1yp)															     yppasswd(1yp)

Name
       yppasswd - change password in yellow pages (YP) service.

Syntax
       yppasswd [ name ]

Description
       The  command lets you change your password in the yellow pages (YP) map, a network data base service.  Only you or the superuser can change
       your YP password.

       When you enter the command, the program prompts you for the old password and then for the new password. Note that  the  passwords  are  not
       displayed on the screen.

       Next,  the  program asks you for the new password again, to verify that you have typed it correctly.  If you do not type the passwords cor-
       rectly, you will receive an error message after you enter the new password.

       Your new YP password must meet one of the following requirements:

	  o It must be a combination of at least six alphanumeric characters, or

	  o It must be a minimum of four characters, with at least one being non-alphanumeric, such as a control sequence.
       The command does not change the YP password.  This command only changes the local password file and not the YP master password  file.   See
       Chapter 3 of the Guide to the Yellow Pages Service for further information.

Diagnostics
       Please use a longer password
       Your new password does not meet the minimum length requirement.

       Mismatch- password unchanged
       You misspelled your new password or its verification.

       couldn't change passwd
       Your new password can not be activated. It must be different from your old password and your login name.

Files
       Password file

       Yellow Pages directory

See Also
       passwd(1), passwd(5yp), ypfiles(5yp), yppasswdd(8yp)
       Guide to the Yellow Pages Service

																     yppasswd(1yp)
Man Page

3 More Discussions You Might Find Interesting

1. Solaris

NIS Password

Greetings All, I am newbie to Unix. Have the following issue: Users are unable to change their password themselves. After they ash to a specific box (NIS Account is extended to that box)and then su as them with an assigned password and run command to change the password they get this error: ... (2 Replies)
Discussion started by: cardiner
2 Replies

2. UNIX for Advanced & Expert Users

unable to change the root password?

I tried to change the root password. but it shows the following error. passwd: Authentication token manipulation error passwd: password unchanged If I login as a normal user that time I'm able to change my (user) password. If I login as a ROOT then I'm not able to change the password root... (6 Replies)
Discussion started by: ungalnanban
6 Replies

3. Red Hat

Yppasswdd not running on nis master server

Goodmorning i am preparing Nis for my test lab.Running Redhat 5.4 on master and centos for my client.Master server running portmap,ypserv,yppasswdd and client running portmap,ypbind and ypxfrd. ypcat and other yp commands are running fine frm client.But when i try yppasswdd on client to change... (1 Reply)
Discussion started by: Vaibhav.T
1 Replies