nerdexam
GIAC

GCFA · Question #282

In Linux, which of the following files describes the processes that are started up during boot up?

The correct answer is C. /etc/inittab. The /etc/inittab file is the traditional Linux SysV init configuration file that defines which processes are launched at each runlevel during system boot.

Advanced Mac & Linux Forensics

Question

In Linux, which of the following files describes the processes that are started up during boot up?

Options

  • A/etc/passwd
  • B/etc/profile
  • C/etc/inittab
  • D/etc/shadow

How the community answered

(18 responses)
  • A
    6% (1)
  • B
    6% (1)
  • C
    78% (14)
  • D
    11% (2)

Why each option

The /etc/inittab file is the traditional Linux SysV init configuration file that defines which processes are launched at each runlevel during system boot.

A/etc/passwd

/etc/passwd stores user account information such as usernames, UIDs, home directories, and default shells, and plays no role in defining boot-time processes.

B/etc/profile

/etc/profile is a shell script that configures system-wide environment variables and startup settings for interactive login shells, not the init daemon's process definitions.

C/etc/inittabCorrect

/etc/inittab is read by the init daemon at startup and specifies the default runlevel along with which processes or services to start, stop, or respawn at each runlevel transition, making it the authoritative file for controlling boot-time process initialization in SysV-based Linux systems.

D/etc/shadow

/etc/shadow stores encrypted user passwords and password aging policy, and has no involvement in the boot process or service initialization.

Concept tested: Linux SysV init boot configuration via /etc/inittab

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

Topics

#inittab#Linux boot process#startup processes#runlevels

Community Discussion

No community discussion yet for this question.

Full GCFA Practice