• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 20. Using Basic Unix Commands > Changing UNIX Passwords

Changing UNIX Passwords

Passwords are an important part of computers. They essentially protect your account and prevent other users from accessing information that you deem as important. When you log into a secure computer, you're asked for your password and user account name. After typing the correct information, you're logged into the computer. Passwords can be changed in the Account area of System Preferences, or they can be quickly changed using the passwd command in the Terminal window. When evoking the passwd command, it's important to understand that your password is permanently changed, and the next time you log in you'll be required to type the new password. In addition, when you're typing and verifying you new password, no keystrokes appear in the Terminal window; not even little dots. There's nothing wrong with your computer, that's just the Terminal window's way of keeping your password safe and secure.

Change UNIX Passwords

Open the Applications folder, double-click the Utilities folder, and then double-click the Terminal icon.

Type passwd at the terminal prompt, and then press Return.

Type in your old password (nothing shows in the terminal), and then press Return.

Type in your new password, and then press Return.

IMPORTANT No keystrokes show in the Terminal window, so be sure that you accurately type your password, and then retype it to verify.

Verify your new password by retyping, and then press Return.

Click the Close button.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint