/etc/shadow file
hi all;
Look at the following example: admin:$2a$05$7FnQWSHB9fTeyBX4cQrrtekkNdzv3SHCkiOnbLm8twHRTHjlNddz6:14371:0:99999:7::: As you know, this is "Last_Modified" option. Right? What does the number mean? Thanks |
man shadow:
Quote:
|
It's the number of days since January 1st 1970 that the password was changed.
And yes, I was beaten to the punch. |
It's not often that I win a typing race ;)
BTW: imprise Today (18/May/2009) would be 14382 therefore 14371 would be 11 days ago: 7/May/2009 |
To find out what the current date would be:
Code:
echo "$(date +%d/%b/%Y) = $(expr $(date +%s) / 60 / 60 / 24)" |
All times are GMT -5. The time now is 05:54 AM. |