Multiple choice technology operating systems

What is the configuration file for the init program?

  1. /etc/init.conf

  2. /etc/default/inittab

  3. /etc/inittab

  4. /etc/init.d

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The init program (traditional SysVinit) uses /etc/inittab as its configuration file. This file defines runlevels, what happens at each runlevel, which terminals to enable, and default runlevel behavior. /etc/init.d is a directory of init scripts, not a config file. Modern systems using systemd don't use inittab.

AI explanation

On traditional Unix/Linux SysV-init systems, /etc/inittab is the configuration file read by the init process (PID 1) to determine default runlevel and what processes to spawn at each runlevel (getty terminals, respawning daemons, etc.). /etc/init.conf and /etc/default/inittab are not standard file names/locations for this purpose, and /etc/init.d is a directory of init scripts (for starting/stopping services), not init's own configuration file.