To change your password, use the passwd command.
- At the prompt, type the following:
passwd
If
you do not already have a password, skip step 2.
- The following prompt displays:
Changing password for UserID
UserID's Old password:
This
request keeps an unauthorized user from changing your password while you are
away from your system. Type your current password, and press Enter.
- The following prompt is displayed:
UserID's New password:
Type
the new password you want, and press Enter.
- The following prompt is displayed, asking you to re-type your new
password.
Enter the new password again:
This request protects you from setting your password to a mistyped string
that you cannot re-create.
See the passwd command in the Commands Reference, Volume 4
for the complete syntax.