Utmp file in Unix-like systems keeps track of all login events. Reading this file it's possible know who is using currently the system and others information.
↧