Code: Select all
[...]
This structure gives the name of the special file associated with the user's terminal, the user's login name,
and the time of login in the form of time(2). String fields are terminated by '\0' if they are shorter than
the size of the field.
The first entries ever created result from init(8) processing inittab(5). Before an entry is processed,
though, init(8) cleans up utmp by setting ut_type to DEAD_PROCESS, clearing ut_user, ut_host, and ut_time with
null bytes for each record which ut_type is not DEAD_PROCESS or RUN_LVL and where no process with PID ut_pid
exists. If no empty record with the needed ut_id can be found, init creates a new one. It sets ut_id from
the inittab, ut_pid and ut_time to the current values, and ut_type to INIT_PROCESS.
[...]
Code: Select all
$ apropos init
[...]
init (8) - process control initialization
init_color [curs_color] (3x) - curses color manipulation routines
init_module (2) - initialize a loadable module entry
init_pair [curs_color] (3x) - curses color manipulation routines
initgroups (3) - initialize the supplementary group access list
initrd (4) - boot loader initialized RAM disk
initscr [curs_initscr] (3x) - curses screen initialization and manipulation routines
initscript (5) - script that executes inittab commands
initstate [random] (3) - random number generator
inittab (5) - format of the inittab file used by the sysv-compatible init process
[...]