Re: How does sudo work these days in F10 ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux