Bug 182742

Summary: Add configuration to choose between su/sudo for kdesu
Product: [Applications] systemsettings Reporter: Aneurin Price <aneurin.price>
Component: generalAssignee: System Settings Bugs <sourtooth+ssbugs>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: jjm
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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 ***