Use the root permission under Fedora to access the x Interface

Source: Internet
Author: User
After Fedora is installed, you cannot log on with the root user on the GUI. Other common users can log on normally. This is for security consideration, who is the root user with such high permissions. If you want to log on with the root user on the graphic interface, you can do this: 1. log on to the system with a common user (either text or graphic interface ), enter suroot in the command line or terminal, and then enter the root password. Then, you can use the root user's identity to modify the corresponding configuration. 2. Input

After Fedora is installed, you cannot log on with the root user on the GUI. Other common users can log on normally. This is for security consideration, who is the root user with such high permissions. If you want to log on with the root user on the GUI, you can do this:

1. log on to the system with a common user (both on the text interface and GUI), enter su root in the command line or terminal, and then enter the root password, after successful modification, you can use the root user's identity to modify the corresponding configuration.

2. Enter vi/etc/pam. d/MCM to enter the vi editing page. Press Insert to enter the editing mode: Use # auth required pam_succeed_if.so user! = Root quiet:

# Auth required pam_succeed_if.so user! = Root quiet

Of course, you can also set the non-equal sign (! =) To equal sign (= ). After the modification, Press ESC and then enter the colon:, and enter wq at the cursor position (that is, the last line) and press Enter. Shows the operation interface under the terminal:

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.