Public bug reported:

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-internal-agent lxqt-admin-user-helper usermod -c marco marcop 

--plasma-discover
polkit-agent-helper-1 marcop

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1828663

Title:
  lubuntu 19.04 QT interfaces not properly working where more then one
  sudoer configured

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1828663/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to