How do you change your Unix password?

Posted by on February 6, 2006

The first thing you do when you get a new Unix account is change the password. No one should know your password, except you. Default user passwords given by many system administrators may follow a simple pattern (password100, 12345, etc). It is your responsibility to change this the first time you access the system.

Log in to your Unix account (locally or remotely) with your current username and password. The messages may change from system to system, but the basics will be the same. Note that passwords are usually case sensitive.

The command to change your password is passwd. At the command prompt, type:

passwd

Hit enter. The system will say something like:

Changing password for {username}

Where {username} is your account log in name.

Enter current password:

Type in your current password and hit enter.

New password:

Type your new password and hit enter.

Retype new password:

Retype your new password to make sure you didn’t enter it incorrectly.

passwd: all authentication tokens updated successfully.

Gordon Lanoie (18 Posts)

With a background in Computer Engineering Technology from Red River Community College, Gordon has been active on the digital scene since the mid-1990s. He currently works with all Lanoie clients to determine their needs and to develop affordable, effective online strategies for their businesses and organizations. With a background in teaching internet technology in the late 1990s at Winnipeg Technical College (formerly South Winnipeg Technical Center) and soon after at UWinnipeg PACE (formerly the Division of Continuing Education), Gordon has a broad background with the needs of students as well as administration in the education industry.


This entry was posted in Passwords on by .

About Gordon Lanoie

With a background in Computer Engineering Technology from Red River Community College, Gordon has been active on the digital scene since the mid-1990s. He currently works with all Lanoie clients to determine their needs and to develop affordable, effective online strategies for their businesses and organizations. With a background in teaching internet technology in the late 1990s at Winnipeg Technical College (formerly South Winnipeg Technical Center) and soon after at UWinnipeg PACE (formerly the Division of Continuing Education), Gordon has a broad background with the needs of students as well as administration in the education industry.

Leave a Reply