PDA

View Full Version : [ubuntu] cant open /var/log/wtmp



rburkartjo
November 12th, 2010, 12:57 PM
have tried using gedit/ and opening folder as ro0t but keep getting the red message might be binary. i am just trying to access log that shows how long and when users have been on my computer.(my daughter)

TeoBigusGeekus
November 12th, 2010, 01:13 PM
Type

last
in terminal.

rburkartjo
November 12th, 2010, 01:41 PM
teo checked that out. how do i determine when she logged out from that command. i noticed that down means she shut the computer down but more concerned with the time she logged out

TeoBigusGeekus
November 12th, 2010, 02:00 PM
I think last shows the log in and out times and not the boot and shutdown ones. Someone correct me if I'm wrong.
See also

man last
for more info.

toekneewood
November 12th, 2010, 02:16 PM
How about


last -Fi | head

rburkartjo
November 12th, 2010, 02:16 PM
teo tks