**********************************************************************
* Description: Linux command of checking last login time for OS users
* Date: 06:09 PM EST, 01/16/2018
**********************************************************************
<1> Linux command of checking OS user last login period for audting purpose:
|
|__ $ last
sadon pts/0 host-74-204-70-2 Fri Sep 1 18:29 - 20:42 (6+02:13)
gride pts/0 208.67.98.72 Thu Aug 31 22:03 - 22:04 (00:00)
gride pts/0 208.67.98.72 Thu Aug 31 22:01 - 22:03 (00:01)
dknos pts/1 208.67.98.72 Wed Aug 30 20:28 - 20:34 (00:06)
ec2-user pts/0 c-69-251-71-149. Wed Aug 30 20:14 - 22:32 (02:17)
dknox pts/0 c-69-251-71-149. Wed Aug 30 20:14 - 20:14 (00:00)
ec2-user pts/0 c-69-251-71-149. Wed Aug 30 20:06 - 20:13 (00:07)
ckennedy pts/1 c-69-251-71-149. Tue Aug 29 21:26 - 21:29 (00:03)
reboot system boot 4.9.38-16.35.amz Tue Aug 29 20:55 - 21:43 (121+00:48)
wtmp begins Tue Aug 29 20:55:30 2017
Your Comments