Inspect an /etc/shadow record.
Identify the value that stores the password's last-change date as days since 1970-01-01.
mei:$6$example:20000:0:99999:7::: Which value is the last-change day count?
The third /etc/shadow field stores the password last-change date as days since the Unix epoch.
Detailed explanation
20000Correct. The third field stores the last-change day count.
0Incorrect. The fourth field is the minimum age.
99999Incorrect. The fifth field is the maximum age.
7Incorrect. The sixth field is the warning period.
Try it yourself
An example you can run in a temporary verification environment.
printf '%s
' 'mei:$6$example:20000:0:99999:7:::' | cut -d: -f3Expected result
20000Key points
- Field 3 is last change
- Field 4 is minimum age
- Field 5 is maximum age
- Field 6 is warning days
Notes
- Environment: POSIX cut / 模擬レコードのみ
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Account record
Identity attributes such as a user ID, home directory, and login shell.
Group membership
Primary and supplementary groups used during permission checks.
Password aging
State and time limits that control password changes and account access.