The etcshadow File

The /etc/shadow file is a secure file where Ubuntu stores the actual user account password, along with some other information about the account. Just like the /etc/passwd file, the /etc/shadow file contains a separate line for each user account.

A sample line from the /etc/shadow file looks like this:

rblum:Ep6sgekrHLChF.:10063:0:99999:7:::

The shadow password file contains eight data fields, each separated by a colon:

♦ The encrypted password

♦ The number of days since the password was last changed

♦ The number of days before the password may be changed

♦ The number of days after which the password must be changed

♦ The number of days to warn the user of an upcoming password change

♦ The number of days since January 1, 1970, that the account has been disabled

♦ Reserved data field that's not used

Was this article helpful?

0 0

Post a comment