nerdexam
GIAC

GSEC · Question #381

Which Linux file lists every process that starts at boot time?

The correct answer is D. inittab. The /etc/inittab file controls which processes the SysV init system starts at each runlevel during Linux boot.

Linux and Cryptography

Question

Which Linux file lists every process that starts at boot time?

Options

  • Ainetd
  • Bnetsrv
  • Cinitd
  • Dinittab

How the community answered

(30 responses)
  • A
    10% (3)
  • B
    3% (1)
  • C
    3% (1)
  • D
    83% (25)

Why each option

The /etc/inittab file controls which processes the SysV init system starts at each runlevel during Linux boot.

Ainetd

inetd is the internet super-daemon that listens on network ports and spawns services on demand - it is not a file and does not list all boot-time processes.

Bnetsrv

netsrv is not a standard Linux file or recognized system component, so it cannot be the correct answer.

Cinitd

initd is not a valid Linux filename; while /etc/init.d/ is a directory containing SysV init scripts, no file named 'initd' exists that lists boot-time processes.

DinittabCorrect

The /etc/inittab file is the primary configuration file for the SysV init process (PID 1) and defines which processes and services are started at each runlevel during system boot. Init reads this file on startup to determine the default runlevel and which processes to launch, making it the definitive list of boot-time processes on SysV-based Linux systems.

Concept tested: Linux SysV init boot configuration file

Source: https://man7.org/linux/man-pages/man5/inittab.5.html

Topics

#inittab#boot process#Linux startup#init

Community Discussion

No community discussion yet for this question.

Full GSEC Practice