Password update is very common for self and other users. This section guides you on how to update your user's password.
To update password, simply use the passwd
command. By default, if the command does not receive any username value, it will change the current user's password.
To update self, you simply issue the command:
$ passwd
To update account, you simply issue the command with the username:
$ passwd <user>
Example, to change james' password from root account, it is:
$ passwd james
That's all for changing password for user.