Update Linux User Password
Password update is very common for self and other users. This section guides you on how to update your user's password.
Update Password
Update 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.
Update Self
Update Self
To update self, you simply issue the command:
$ passwd
Update Other Account
Update Other Account
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.