Before doing this task, the user for which you are changing the password must already
exist.
-
Change the password for an existing user with the passwd command,
entering the new password twice.
For example, if the user is blaineh and the new password is
wrkngcrw, type the following lines, pressing
Enter at the end of each line.
passwd blaineh
wrkngcrw
wrkngcrw
-
Close the SSH connection.