This information is logged in /etc/utmp and /etc/utmpx. In 5.0.4, this information is cleared when the system reboots. For earlier releases, edit /etc/bcheckrc as follows. You will see the first of the following three lines already there; add the other two below it.
/bin/su bin -c "/etc/devnm / 2>/dev/null" | /etc/setmnt [ -w /etc/utmp ] && > /etc/utmp [ -w /etc/utmpx ] && > /etc/utmpx
Also, "cwtmp" ftp://ftp.armory.com/pub/scobins/cwtmp is a freely available utility that clears stale logins.
Also available for Linux: ftp://ftp.armory.com/pub/linux/cwtmp
Got something to add? Send me email.
(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Printer Friendly Version
Increase ad revenue 50-250% with Ezoic
Inexpensive and informative Apple related e-books:
Take Control of the Mac Command Line with Terminal, Second Edition
Take Control of Preview
Take Control of iCloud
Take Control of Upgrading to Yosemite
Photos for Mac: A Take Control Crash Course