Improving account passwords

Secret Word

Article from Issue 142/2012
Author(s):

Even with encrypted drives, account passwords remain one of the prime security methods for any Linux system. With a little knowledge of the available commands and their options, you can make your account passwords more secure.

If you have dealt at all with account passwords from the command line, the experience was probably through passwd, run with no options (Figure 1), or adduser, which calls on passwd as part of its operations (Figure 2). Both of these commands guide you through the basics of adding or changing an account password, requiring the usual double entry to ensure you know what you typed. Both were added long ago to Unix-like systems – just how long ago, you can judge by the command names themselves: The writers of passwd were under such tight naming restrictions that leaving out two characters made a difference, and adduser lacks a field for entering users’ email addresses.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News