What command is used to change your password
-
chpassword
-
changepword
-
passwd
-
pass -change
The passwd command is used to change passwords in Unix/Linux systems. It's a standard utility that allows users to change their own password or (with root privileges) other users' passwords. The other options (chpassword, changepword, pass-change) are not valid Unix commands.
On Unix/Linux systems, the passwd command is used to change a user's own login password (or, run by root, another user's password); it updates /etc/shadow after prompting for the current and new password. 'chpassword', 'changepword', and 'pass -change' are not real system commands — they're plausible-sounding distractors that don't exist as standard utilities. passwd is the correct, standard, POSIX-recognized command name for this task across virtually all Unix-like operating systems.