System Administration Guide: Naming and Directory Services (NIS+)

Changing Passwords in NIS+

New passwords must meet the criteria described in Password Requirements.

Changing Your Own Password

To change your password, type


station1% passwd

You will be prompted for your old password and then the new password and then the new password a second time to confirm it.

Changing Someone Else's Password in NIS+

To change another user's password in the same domain, use:


passwd username

To change another user's password in a different domain, use:


passwd -D domainname username

When using the passwd command in an NIS+ environment (see passwd Command and “NIS+ Environment”) to change someone else's password you must have modify rights to that user's entry in the passwd table (this usually means that you are a member of the group for the passwd table and the group has modify rights). You do not have to enter either the user's old password or your password. You will be prompted to enter the new password twice to make sure that they match. If they do not match, you will be prompted to enter them again.