Linux/etc/inittab six operating levels for a simple understanding

Source: Internet
Author: User

Configuration file, the system will read the information of this file during the startup process.


[Email protected] ~]# Cat/etc/inittab

# Inittab is a used by upstart for the default runlevel.

#

# ADDING Other CONFIGURATION here would have NO EFFECT on YOUR SYSTEM.

#

# System initialization is started by/etc/init/rcs.conf

#

# individual runlevels is started by/etc/init/rc.conf

#

# Ctrl-alt-delete is handled by/etc/init/control-alt-delete.conf

#

# Terminal Gettys is handled by/etc/init/tty.conf and/etc/init/serial.conf,

# with configuration In/etc/sysconfig/init.

#

# For information on what to write upstart event handlers, or how

# Upstart works, see Init (5), init (8), and Initctl (8).

# These are the explanations for the file, and the following 0-6 is the explanation of the RunLevel

# Default RunLevel. The runlevels used is:

# 0-halt (do not set Initdefault to this)

turn off the machine

# 1-single User mode

Single-user mode ( one person plays a single machine.) only one user can log in and no default password is required, no NIC. )

# 2-multiuser, without NFS (the same as 3, if you don't have networking)

If you don't run the network, it's the same as level three.

# 3-full multiuser modes Multi-user mode (command mode that we often use)

# 4-unused is not used, system retention level

# 5-x11 Desktop mode

# 6-reboot (do not set Initdefault to this) reboot

#

ID: 3: initdefault: here is where this file is configured, in command mode, the default is level--3--。

Here can not be changed, if you change to 0,1,6 your system will not turn on the machine




This article is from the "12993685" blog, please be sure to keep this source http://13003685.blog.51cto.com/12993685/1967287

Linux/etc/inittab six operating levels for a simple understanding

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.