[Bug 1965439] Re: [SRU] kdesu fails to authenticate with sudo from Jammy
mtu
1965439 at bugs.launchpad.net
Wed Aug 31 09:38:34 UTC 2022
Note that with kdesu fixed, the hotfix to kubuntu-settings by Erich
Eickmeyer can possibly be reverted, removing the ugly xterm workaround
when launching Driver Manager from Kubuntu Settings.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sudo in Ubuntu.
https://bugs.launchpad.net/bugs/1965439
Title:
[SRU] kdesu fails to authenticate with sudo from Jammy
Status in kdesu package in Ubuntu:
Fix Released
Status in kubuntu-settings package in Ubuntu:
Fix Released
Status in sudo package in Ubuntu:
Confirmed
Status in ubuntustudio-default-settings package in Ubuntu:
Fix Released
Status in kdesu source package in Jammy:
Fix Committed
Status in kubuntu-settings source package in Jammy:
In Progress
Status in sudo source package in Jammy:
Won't Fix
Status in ubuntustudio-default-settings source package in Jammy:
In Progress
Status in kdesu source package in Kinetic:
Fix Released
Status in kubuntu-settings source package in Kinetic:
Fix Released
Status in sudo source package in Kinetic:
Won't Fix
Status in ubuntustudio-default-settings source package in Kinetic:
Fix Released
Status in kdesu package in Debian:
Fix Released
Bug description:
kdesu fails to authenticate with sudo from Jammy.
See upstream bug: KDE bug: https://bugs.kde.org/show_bug.cgi?id=452532
Examples: Launch Kubuntu driver manager from system setting, launching
ksystemlog from the main menu, or trying to run krusader root mode
option via its 'Tools > Start Krusader Root Mode' menu entry. Assuming
that the current user is a member of the sudo group.
On entering the correct password authentication is refused, stating that
possibly an incorrect password has been entered.
It appears that kdesu fails to cope with the sudo config change in this
commit:
https://salsa.debian.org/sudo-
team/sudo/-/commit/59db341d46aa4c26b54c1270e69f2562e7f3d751
kdesu was fixed in Debian with:
https://tracker.debian.org/news/1330116/accepted-kdesu-5940-2-source-
into-unstable/
and fixed in kinetic with:
https://launchpad.net/ubuntu/+source/kdesu/5.94.0-0ubuntu2
The issue can be worked around by adding /etc/sudoers.d/kdesu-sudoers
with the contents
Defaults!/usr/lib/*/libexec/kf5/kdesu_stub !use_pty
[Impact]
* Users are unable to authenticate to and launch applications via kdesu.
* This should be backported to restore functionality that users expect.
[Test Plan]
* Launch Kubuntu driver manager from system setting, launching
ksystemlog from the main menu, or trying to run krusader root mode
option via its 'Tools > Start Krusader Root Mode' menu entry. Assuming
that the current user is a member of the sudo group.
* Confirm that the application authentcate and launch as successfully
as in previous releases.
[Where problems could occur]
* While this update only returns sudo to its default behaviour (used
in previous releases and virtually all other distributions) for kdesu,
care should be taken to test some other applications that seek root
permissions to confirm that no unexpected consequences occur.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kdesu/+bug/1965439/+subscriptions
More information about the foundations-bugs
mailing list