Under Construction

Programs which generate utmp entries

Commands like who(1) or last(1) use entries from /etc/utmp and /var/adm/wtmp. To do this, however, meaningful information must first be stored in these files. In this chapter we deal with services and programs that generate utmp entries. The main ones are init(1), getty(1) and sshd(8). Knowing which entries are made by which service/program can be very useful for the administration of a system. We show some of these useful examples later.