Re: How does sudo work these days in F10 ?



Leslie Satenstein wrote:
With Fedora, sudo asks for the root password, which is the correct way.

With UBUNTU, it asks for the user password, which means that you cannot let others share your logon id and password.

Shame on Ubuntu.


That's not true. It depends very much on how you set up Sudo - and the easiest way is to ask for your password - it's very difficult to get sudo to prompt for the root password.

What you are confused about is all those windows prompting you for the root password - they are not generated via sudo - they are part of PolicyKit, which is the framework Fedora uses for authorising privileged access.

You can adjust PolicyKit from "System -> Preferences -> System -> Authorisations"

- If set to "Admin Authentication" the root password will be prompted for.
- If set to "Authentication" then the user's password will be prompted for.

Some authorisations are also still controlled through consolehelper/userhelper - these can be adjusted using the files in /etc/security/console.apps/ - If you add the line "UGROUP=wheel" then anyone in the wheel group will be asked for their own password instead of roots.

The dual-configuration places will eventually collapse when the Fedora guys move everything to PolicyKit, but until then, you need to fiddle with multiple places.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines



Relevant Pages

  • Re: Subject: Re: Gnome virt-manager
    ... window prompt without the double quote marks. ... the menu selection for the virtmanager, should be Application->System, and ... window with a prompt for the root password. ...
    (Fedora)
  • Re: Subject: Re: Gnome virt-manager
    ... is the exact name for the virtmanager application on your system. ... window prompt without the double quote marks. ... the menu selection for the virtmanager, should be Application->System, and ... window with a prompt for the root password. ...
    (Fedora)
  • Re: Prob w/ virtual terminals
    ... prompt, though, so something isn't entirely right in the OP's ... it uses scripts in the /etc/event.d directory to ... The above changes that Ubuntu has made bother me. ... that standard part has some serious flaws. ...
    (comp.os.linux.setup)
  • Re: No longer prompted for password!?!
    ... I used "passwd" to change my password and the root password back to ... I do recall the password dialog for kdesu had an option ... what else could be causing the system to no longer prompt ...
    (comp.os.linux.misc)
  • Re: [opensuse] Every time I power up the printer, Im promted to configure it - again.
    ... to make HAL aware of its changed config files, ... What I get is a prompt for my root password coming from command ... It is also a usability issue, it is not correct to be prompted for the root password whiteout option to say never again, and for an already configured printer. ...
    (SuSE)