What is /etc/shadow file?

Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.

What is /etc/shadow file?

Rating:

The /etc/shadow file stores the account information in the following format:

UserName:Password:Last:May:Must:Warn:Expire:Disable:Reserved

OptionDescription
UserName Username, up to 8 characters. Case-sensitive, usually all lowercase. A direct match to the username in the /etc/passwd file.
Password Password, 13 character encrypted. A blank entry (eg. ::) indicates a password is not required to log in (usually a bad idea), and a ``*'' entry (eg. :*:) indicates the account has been disabled.
Last The number of days (since January 1, 1970) since the password was last changed.
May The number of days before the password may be changed (0 indicates it may be changed at any time).
Must The number of days after which the password must be changed (99999 indicates a user can keep his or her password unchanged for many, many years).
Warn The number of days to warn a user of an expiring password (7 for a full week).
Expire The number of days after which the password expires since the account has been disabled.
Disable The number of days (since January 1, 1970) since the account was disabled.
Reserved A reserved field for possible future use.


Rating:



Other articles

Click here to Article home

 
uCertify.com | Our Company | Articles | Privacy | Security | Contact Us | News and Press Release | uCertify India
MCSE: MCSA, MCTS, MCITP    JAVA Certification: SCJP, SCWCD Cisco Certification: CCNA, CCENT, A+, Network+, Security+
Oracle Certification: OCP 9i, OCP 10g, OCA 9i, OCA 10g CIW foundation    EC-212-32    CISSP    Photoshop ACE    Adobe Flash ACE
© 2008 uCertify.com. All rights reserved. All trademarks are the property of their respective owners.