Modify the superuser password of the SUSELinux System

Source: Internet
Author: User
Article Title: Modify the superuser password of the SUSELinux system. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

1. Restart the machine. After the grub boot interface appears, press F2 and add init =/bin/bash to the linux Startup options, by passing the init =/bin/bash parameter to the kernel, the OS runs bash before running the login program, and the command line appears.

2. Wait for a moment (none) #: command line.

3. Input mount-n/-o remount, rw

4. Input mount? N/usr

5. Enter cd/usr/bin.

6. Enter the passwd command to reset the password. Enter the new password.

7. After modification, remember to use mount-n/-o remount. ro sets the root file system to the original state.

8. Enter exit to exit the system, restart the system, and log on with the new password.

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.