Please check the manual page utmp(5).