Home > Ask the Security Experts > Questions & Answers > What is password shadowing
Ask The Security Expert: Questions & Answers
EMAIL THIS

What is password shadowing

Jonathan Callas EXPERT RESPONSE FROM: Jonathan Callas

Pose a Question
Other Security Categories
Meet all Security Experts
Become an Expert for this site
>
QUESTION POSED ON: 12 February 2002
What is password shadowing, and what are its benefits?


>

On a Unix system, there is a file, /etc/passwd, that traditionally holds account information. As an example, typically this file contains a user's username, password, user and group id, other information like the last time they changed their password and when they must change it by, their home directory, default shell, and lastly, personal information like their full name, office location and phone number.

If you think over that information, you can see that it ranges from information that is pretty public -- like full name -- to information that is very private, like their password. Furthermore, since this is stored in a sequential file, if you can see one piece of information about a user, you can see them all.

Shadow password files are a mechanism to separate the public information about a user from the private information about a user. One way this is implemented, the shadow password file is /etc/shadow and is protected much more strongly than /etc/passwd. The passwd file is world-readable, but the shadow file is only readable by root. There are OS functions for changing its contents, rather than just having it be done by file access. It contains the password and other relevant information, like the last time it was changed, when it will expire, if the account should be disabled if the password expires and so on.

To sum up, the file /etc/passwd contains data about a user that should not be world-readable. Shadow password files create a file with tighter protection as a way of protecting the sensitive fields of the data about a user.


For more information on this topic, visit these other searchSecurity resources:
Best Web Links: Unix security
Best Web Links: Passwords/Authentication
Featured Topic: Passwords


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Find Security Solutions for Your Business
TechTarget Security Media
Information Security View this month\\'s issue and subscribe today.
Information Security Decisions Apply online for free conference admission.
SearchSecurity.com
HomeNewsMagazineMultimediaWhite PapersLearningAdviceTopicsEventsAbout Us

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts