LinuxWorld: Illuminating shadow passwords - What the software is, how to get it, how to use it | Linux Today

LinuxWorld: Illuminating shadow passwords – What the software is, how to get it, how to use it

Written By
Web Webster
Web Webster
Aug 1, 2000

Why shadow passwords? Simply put, the shadow password
scheme addresses the major shortcoming of the original Unix
password-handling scheme, the fact that the password list was
stored as a world-readable file.

“The encoding mechanism for Unix passwords was (and is) very
secure, being a one-way algorithm and therefore easy to apply but
impossible to reverse. However, the password file itself is
vulnerable to a cracking technique known as a dictionary attack, in
which all the words from a large dictionary file are encoded and
compared with the encoded password (readable by any user, remember)
in /etc/passwd. This dictionary file is usually based on a normal
English-language dictionary, with the addition of slang and weak
passwords like “gandalf,” “xyzzy,” “qwerty,” or even (God help us)
“password.” If the two match, then the original unencoded word is
the password.”

“This may sound simple, but it takes a while to run the tens, or
hundreds, of thousands of dictionary entries against a single
password. Still, it is not extremely difficult with today’s
high-performance computing systems. Shadow passwords retain the
Unix password mechanism and its backward compatibility with the
huge Unix application base, while preventing the dictionary
attack.”


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.