How do I access the date and time a user is logged in and out?
LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS
Access to user time log
|
12-20-2020, 08:04 PM
Ohh, that would be useful for parental control. Like the Nintendo parental app.
I would like to know too ![]()
- TheDead (TheUxNo0b)
If my blabbering was helpful, please click my [Thank] link.
12-21-2020, 03:07 AM
[member=10111]lionwag[/member] [member=6733]TheDead[/member]
Could use 'last' - you'll want to head or more it thou (depending).... Code: last |more
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
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.
Correct info, thanks. How do I add a SOLVED tag?
12-21-2020, 08:48 PM
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.
|
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)