Fedora 16 solution to prompt validation failure when logging in with root account

Source: Internet
Author: User
Tags auth

Environment: Fedora Linux 16

Problem Description: Fedora linux16 with root user login, enter password validation failure, even if your password is correct, this situation will occur, this is because Fedora Linux by default prohibit root super user.

Solution:

The first attempt to use Repair mode to modify the root password, but still does not work after the reboot.

The following modifications are now:

into Repair mode, enter the following command to modify:

1. Input command: VI/ETC/PAM.D/GDM, in the text editor (enter I to enter edit mode) Comment out the line "Auth required pam_succeed_if.so user!= root Quiet" (preceded by "#" in this line, Change to #auth required pam_succeed_if.so user!= root quiet);

2. Press ESC key;

3. Enter a colon (:)

4 input command: WQ, save and exit, continue typing command: Vi/etc/pam.d/gdm-password the same comment out "auth required pam_succeed_if.so user!= root quiet" this line, save and exit.

5. Input command: Reboot

6. You can now log in using root to resolve.

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.