Fedora16 cannot be logged on with the root account. solution:

Source: Internet
Author: User
Environment: FedoraLinux16 Problem description: Fedoralinux16 is logged on with the root user. If you enter the password, verification fails. This problem occurs even if your password is correct, this is because Fedoralinux disables root superusers by default. Solution: first try to use the repair mode to change the root user password, but it still does not work after restart. Run the following command to change the repair mode: 1. Run vi/et.

Environment: Fedora Linux 16

Problem description: Fedora linux16 logs on with the root user. If you enter the password, verification fails. Even if your password is correct, this will happen, this is because the root Super User is disabled by default in Fedora linux.

Solution:

At first, I tried to use the repair mode to change the root user password, but it still did not work after restart.

Modify the settings as follows:

Enter repair mode, and enter the following command to modify:

1. Enter the command: vi/etc/pam. d/TPD, and comment out "auth required pam_succeed_if.so user in the Text Editor (enter I to enter the editing mode! = Root quiet "(Add" # "before this line to change it to # auth required pam_succeed_if.so user! = Root quiet );
2. Press esc;

3. Enter the colon (:)

4. Enter the command wq, save and exit, and enter the command vi/etc/pam. d/TPD-password to comment out "auth required pam_succeed_if.so user! = Root quiet ", save and exit.

5. Enter the command: reboot

6. Now you can use root to log on.

For more information about Fedora, see Fedora topics page http://www.linuxidc.com/topicnews.aspx? Tid = 5

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.