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.
Question
Which Linux file lists every process that starts at boot time?
Options
- Ainetd
- Bnetsrv
- Cinitd
- Dinittab
How the community answered
(30 responses)- A10% (3)
- B3% (1)
- C3% (1)
- D83% (25)
Why each option
The /etc/inittab file controls which processes the SysV init system starts at each runlevel during Linux boot.
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.
netsrv is not a standard Linux file or recognized system component, so it cannot be the correct answer.
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.
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
Community Discussion
No community discussion yet for this question.