LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Access to user time log
#1
How do I access the date and time a user is logged in and out?
Reply
#2
Ohh, that would be useful for parental control. Like the Nintendo parental app.
I would like to know too Wink
- TheDead (TheUxNo0b)

If my blabbering was helpful, please click my [Thank] link.
Reply
#3
[member=10111]lionwag[/member] [member=6733]TheDead[/member]

Could use 'last' - you'll want to head or more it thou (depending)....

Code:
last |more
last |head
LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express  -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
Reply
#4
The simple commands--    lastlog    --will display up to a month of login data
                                        w          --will display current user and uptime
                                        uptime  --will display current session uptime


If you know the user name--  last -f /var/log/wtmp username

TC
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
Reply
#5
Correct info, thanks.  How do I add a SOLVED tag?
Reply
#6
Login to the forum. Select your original post. Click modify, and then select prefix solved and save.

TC
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)