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.
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)- A6% (1)
- B6% (1)
- C78% (14)
- D11% (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.
/etc/passwd stores user account information such as usernames, UIDs, home directories, and default shells, and plays no role in defining boot-time processes.
/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.
/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.
/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
Community Discussion
No community discussion yet for this question.