Bug 182742 - Add configuration to choose between su/sudo for kdesu
Summary: Add configuration to choose between su/sudo for kdesu
Status: RESOLVED DUPLICATE of bug 194267
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: System Settings Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-01 16:47 UTC by Aneurin Price
Modified: 2012-03-29 11:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aneurin Price 2009-02-01 16:47:04 UTC
Version:            (using KDE 4.2.0)
Installed from:    Debian testing/unstable Packages

KDE has an option to use sudo instead of su for kdesu, but the only method for changing it, so far as I'm aware, is to edit a config file for which I've not found any documentation. I managed to get what I wanted with Google's help, but I wonder if it would be worth having an option for this somewhere in the configuration GUI.

Ideally the user would never need to know about this, but so far as I can tell it's not possible to determine automagically which one of su/sudo is the most appropriate for the system in use, unless you already have root privileges to read /etc/sudoers.

Maybe just checking if the user is in the 'wheel' or 'admin' group would work in all usual cases? (In my /etc/passwd there is also a 'sudo' group, but I'm not sure what that's used for.)
Comment 1 Jonathan Marten 2012-03-29 11:34:40 UTC

*** This bug has been marked as a duplicate of bug 194267 ***