How to view all login history in MacOS High Sierra
How can I log all login history until now? By "all" I mean all users: admin, guests, and every other user.
I am using MacOS HighSierra.
In Terminal, use the last
command.
Also, read the manual page for last
, in Terminal: man last
Checked on Mac OS Mojave 10.14.5
sudo log show --style syslog --last 30m | awk '/Enter/ && /unlockUIBecomesActive/ {print $1 " " $2}'