RHEL6.3 into single-user mode

Source: Internet
Author: User

The single-user mode is similar to the security mode under Windows, allowing the root account to boot directly and log into the system for system maintenance without entering a password.

Single-user mode allows only the root account to log in, and does not allow other users to connect remotely using the SSH protocol.

To restart the system, press ENTER to enter the following interface:

Select the second item, press E

Press E to enter the kernel edit command line, and then enter single or S or 1 or init 1 in the cursor space

After the input is completed, press ENTER, save to return to the previous boot menu, press B to start the system automatically into single user mode.

After startup, you do not need to enter a password to automatically login to the root account

input Vi/etc/inittab to re-modify the boot level.

if it is forgotten Root password for the account, then

input #vi/etc/passwd Command
The first line of the root:x:0 .... in the X Delete, become root::0 .... and then save the exit !
Reboot the system.
in the system at this time Root the password is empty.
then enter the command to change the password: passwd Root

RHEL6.3 into single-user mode

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.