Chapter 56. Passwd and Passwords

I don’t want to disturb your GUI-induced nap, but for your own good—and for the security of your system—you need to be concerned about two things: learning how to use the passwd command and learning how to create strong passwords. Yes, it may require a teensy tiny bit of effort on your part, but consider the alternative.

The passwd command is easy to use. As a regular user, simply type the command at the CLI. You’ll see something like this in response:

linux~> passwd
Changing password for warthawg.
Old Password:

You’re asked for the old password as a matter of security. So if you’ve just gotten up from your desk to get a fresh cup of coffee, walk-by evil-doers are not able to play a prank on you by changing your password ...

Get CLI for Noobies: A Primer on the Linux Command Line now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.