• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

passwd

passwd

passwd Modifies a user's password.
passwd [-l] [-k] [-y] [<user>]

passwd changes the user's local, Kerberos, or YP password. The user is first prompted for his old password. The user is prompted for a new password, and then prompted to retype the new password for verification.
The new password should be at least six characters in length. Use of a variety of lowercase letters, uppercase letters, numbers, and metacharacters.
-l Updates the user's local password.
-k Updates the Kerberos database, even if the user has a local password. After the password has been verified, passwd transmits the information to the Kerberos authenticating host.
-y Updates the YP passwd, even if the user has a local password. The rpc.yppasswdd (8) daemon should be running on the YP master server.
If no flags are specified, the following occurs:
If Kerberos is active, the user's Kerberos password is changed, even if the user has a local password.
If the password is not in the local database, an attempt to update the YP password occurs.
To change another user's Kerberos password, run kinit (1) followed by passwd. The super user is not required to supply the user's password only if the local password is being modified.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint