BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI 101-500 Exam - Topic 4 Question 133 Discussion

Posted by Jeanice on Oct 14, 2026 at 04:40 PM

Which SysV init configuration file is commonly used to set the default run level? (Specify the full name of the file, including path.)

F . 4. SysV Init Runlevels - Red Hat Customer Portal

init - How can I see or change default run level? - Ask Ubuntu

Suggested Answer: A

The /etc/inittab file is a plain text file that contains information about the initialization process of the system. It defines the default run level, the available run levels, and the actions to be taken when entering or leaving a run level. The default run level is the mode of operation that the system starts up into, and it determines which services and processes are running. The default run level is specified by a line similar to the following in the /etc/inittab file:

id:5:initdefault:

The number after the first colon indicates the default run level, which can range from 0 to 6. The meaning of each run level is:

0 --- Halt

1 --- Single-user text mode

2 --- Not used (user-definable)

3 --- Full multi-user text mode

4 --- Not used (user-definable)

5 --- Full multi-user graphical mode (with an X-based login screen)

6 --- Reboot

To change the default run level, edit the /etc/inittab file as root and change the number to the desired run level. For example, to change the default run level to 3, use the following command:

sudo nano /etc/inittab

And change the line to:

id:3:initdefault:

Then save and exit the file. The changes will take effect on the next reboot.


SysV Init Runlevels - Red Hat Customer Portal

Get Premium 101-500 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
9 comments · newest first
SH
Shenika 3 days ago
Yup, /etc/inittab is the classic!
ZA
Zachary 8 days ago
I thought they moved to systemd now?
RO
Rolande 13 days ago
Wait, is it really still used?
IL
Iluminada 18 days ago
Totally agree, that's the one!
LE
Leota 23 days ago
It's /etc/inittab!
LI
Lisbeth 29 days ago
I have a vague recollection of a similar question, and I think /etc/inittab is correct, but I should double-check that before finalizing my answer.
HE
Helaine 1 month ago
I feel like there might be other files involved, but /etc/inittab definitely stands out in my memory for setting the default run level.
KA
Katheryn 1 month ago
I remember practicing a question about run levels, and I'm pretty sure /etc/inittab was mentioned as the default configuration file.
LY
Lynna 1 month ago
I think the file we're looking for is /etc/inittab, but I'm not completely sure if that's the only one used for run levels.
0/2000 characters

Save Cancel