On my system the man page of shadow defines the third column value this way:
The date of the last password change, expressed as the number of days since Jan 1, 1970.
I have an example value "17050". passwd -S
says this is the "2016-09-06". But the seconds since 1970 are "1473112800.0". When I calculate 1473112800.0/(60*60*24) I get "17049.9166666666".
How is the "17050" calculated? Is it rounded or is it always the next greater integer?
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加