Dears ,
I have been put into a difficult situation by one of my security advisors...
which is that if any one of the user login into the system and logout within same minute ( i.e if he logout from system in 45 seconds ) the last command
could not be able to display the duration of user's session properly as " last" command shows ( 23:42-23:42) i.e in hh:mm format.
Now two questions:
1.Is there any way to get the duration of session in seconds?
2.I know how to get the login time in seconds ( lsuser or
/etc/security/lastlog file) but does any body conceive any way to
record the logout time in same way?
polani
Here comes polani Once again!!!
P690 Certified Specailist
HACMP & AIX Certified Specailist
AIX & HACCMP Instructor
I have been put into a difficult situation by one of my security advisors...
which is that if any one of the user login into the system and logout within same minute ( i.e if he logout from system in 45 seconds ) the last command
could not be able to display the duration of user's session properly as " last" command shows ( 23:42-23:42) i.e in hh:mm format.
Now two questions:
1.Is there any way to get the duration of session in seconds?
2.I know how to get the login time in seconds ( lsuser or
/etc/security/lastlog file) but does any body conceive any way to
record the logout time in same way?
polani
Here comes polani Once again!!!
P690 Certified Specailist
HACMP & AIX Certified Specailist
AIX & HACCMP Instructor