Wednesday, May 26, 2010

/etc/shadow file parts


This file contains 7 fields separated by a colon (:), which are:
  1. User login name
  2. salt and hashed password OR a status exception value e.g:
    1. "NP" or "!" or null - No password, the account has no password.
    1. "LK" or "*" - the account is Locked, user will be unable to log-in
    1. "!!" - the password has expired
  3. Days since Jan 1st of 1970 last password change
  4. Days until change allowed
  5. Days before change required
  6. Days warning for expiration
  7. Days before account inactive
  8. Days since Jan 1st of 1970 when account expires
  9. Reserved

No comments: