Remove Fedora16 system program password verification

Source: Internet
Author: User
Q: When the Fedora16 system program "user and group" is opened, the ROOT password box will pop up. Can I remove it? Solution: 1. add the USER account to the wheel group (the USER indicates the current USER). 2. passwd-dUSER: When you run tools such as "USER and group", you will not be reminded to enter the password. (If you do not delete the password, you can only obtain the permission by verifying the USER password, do not use the ROOT password) Principle: system-config -*

Problem:

The ROOT Password box will pop up when you open the Fedora 16 system program "user and group". Can you remove it?

Solution:

1. Add the USER account to the wheel group (the USER indicates the current USER)

2. passwd-d USER (clear password)

Effect:

When running tools such as "users and groups", you will not be reminded to enter the password. (If you do not delete the password before, you can obtain the permission by verifying the USER password without using the ROOT password)

Principle:

System-config-* and other tools all need to verify the ROOT permission. They are all soft links of consolehelper. This program provides the GTK verification box and then calls userhelper (setuid program) for PAM verification, privilege Escalation. These system programs use the default configuration (config-util ):

USER = root

UGROUPS = wheel

Therefore, if the current user belongs to the wheel group, verify the password of the current user to obtain the ROOT permission;

Gksu corresponds to beesu on Fedora16, which is actually a soft connection of consolehelper. It has nothing to do, that is, to pass the program name you want to run to consolehelper;

Passwd-class commands should not work. They seem to directly call PAM authentication, without this wrap mechanism;

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.