passwd

passwd –  update a user’s authentication tokens(s)

 

passwd [-k] [-l] [-u [-f]] [-d] [-n mindays] [-x maxdays] [-w warndays] [-i inactivedays] [-S] [username]

Passwd is used to update a user’s authentication token(s).

Passwd is configured to work through the Linux-PAM API. Essentially, it initializes itself as a “passwd” service with Linux-PAM and utilizes configured password modules to authenticate and then update a user’s password.