policykit failures due to internal user id mismatch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PolicyKit |
New
|
Unknown
|
|||
lubuntu-meta (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
lxqt-policykit (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
policykit-1 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
polkit-qt-1 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
After adding a second user to the sudo group any authentication in the QT applications menu fails, till I manually remove the second user from the sudo group by issuing deluser chiara sudo in terminal window.
Lubuntu 19.04
(fresh install, in italian)
1)open the preferences/LXQt settins/user and groups menu from the application menu
2)add new user, before saving add it to sudo group; save (password asked for user currently logged on, as expected - then new user password asked, user created -all ok)
3)restart system
4) log in as newly created user; open the same interface preferences/LXQt settins/user and groups; try changing the full name field (properties of your own user): logged user password asked (and... why? User two is changing himself)
5)popup showed: "Error executing command as another user: Not authorized" & user unchanged.
6)if you exit session, reenter with the first user, also him is now unable to use interface ti change users via interface
7)using terminal, delete second user from sudo group
8)restart system
9)athenticated interface working again.
It happened me both at home on a phisical laptop and on a virtual machine at office, where I could do it all twice.
By the way, also plasma-discover tells me I haven't the right to update/install when I have two sudoers (tried at home to remove second sudoer to fix it, and it worked)
So it seems that the authentication mechanism of the QT graphical interface fails when there are more then one sudoer on the system - but only for applications started from the application menu.
Launching the same application via terminal (sudo plasma-discovery) works.
commands issued by the interface (which lead to "unauthorized" error:
--change user
pkexec --disable-
--plasma-discover
polkit-
tags: | added: disco |
affects: | ubuntu → lubuntu-meta (Ubuntu) |
Changed in lubuntu-meta (Ubuntu): | |
assignee: | nobody → TJ (tj) |
status: | Confirmed → In Progress |
Changed in policykit-1: | |
status: | Unknown → New |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1828663/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]