Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - 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
0 comments · newest first

Currently there are no comments in this discussion, be the first to comment!

0/2000 characters

Save Cancel