check how many days has been an account inactive
hi, how can one check for how many days an user hasn't logged into they account ?
i know there is command: Code:
last user thanks |
|
last will only work on the latest wtmp file, which might have been rotated already and for former entries you would have to scan in the rotated ones.
You can use: Code:
$ lastlog -u user |
All times are GMT -5. The time now is 08:10 PM. |