You are not logged in.

#1 2019-02-17 23:13:15

Shelbster
Member
Registered: 2017-11-16
Posts: 38

[SOLVED] PolicyKit1 KDE Agent asks for root password instead of user

I am trying to basically act like there is no root account and that there is no root password. So I created my account under the group wheel and allowed wheel sudo access. I cant get that to translate to gui applications. Whenever KDE asks me for passwords it asks for root password. I tried locking root as well, but PolicyKit still asks for root password. I even tried inputting my user password even though it was asking for root, but it didn't work. My user is in the wheel group, and sudo works just fine in the terminal, but any gui application that asks for a password asks for root. I tried googling but people either have the opposite problem (asked user password when they want to input root), or want to input no password at all. For security sake I want to be asked for a password, just not root's password. Any ideas on how to fix this?

Last edited by Shelbster (2019-02-19 00:01:27)

Offline

#2 2019-02-18 07:44:46

seth
Member
Registered: 2012-09-03
Posts: 51,165

Re: [SOLVED] PolicyKit1 KDE Agent asks for root password instead of user

any gui application that asks for a password asks for root

Please make that more specific to rule out this is kdesu and then see https://wiki.archlinux.org/index.php/Po … identities and check the status of your polkit rules itr.

Offline

#3 2019-02-18 23:42:54

Shelbster
Member
Registered: 2017-11-16
Posts: 38

Re: [SOLVED] PolicyKit1 KDE Agent asks for root password instead of user

By "rule out this is kdesu" do you mean to set it to sudo as described here https://wiki.archlinux.org/index.php/sudo#kdesu ?
I set super-user-command=sudo on kdesurc. I also made sure that 50-default.rules is set to "wheel" and 49-rootpw_global.rules doesn't exist.

Offline

#4 2019-02-19 00:02:34

Shelbster
Member
Registered: 2017-11-16
Posts: 38

Re: [SOLVED] PolicyKit1 KDE Agent asks for root password instead of user

Problem solved. I wasn't set to administrator in the user accounts in the settings menu for KDE. Is there a reason why I wasn't set as administrator even though I was wheel, and even though all it does is add you to the group wheel (I checked by making a test user)?

Offline

#5 2019-02-19 08:07:13

seth
Member
Registered: 2012-09-03
Posts: 51,165

Re: [SOLVED] PolicyKit1 KDE Agent asks for root password instead of user

You didn't restart the shell (KDE) after addign yourself to the wheel group?

Fyi, sudo, su & polkit are different things and so are kdesu (kdesudo) & the KDE polkit agent.
By "rule out" I therefore meant to be sure what you're facing, in doubt by eg. checking the process list for kdesu entries.

Offline

#6 2019-02-19 13:43:24

Shelbster
Member
Registered: 2017-11-16
Posts: 38

Re: [SOLVED] PolicyKit1 KDE Agent asks for root password instead of user

I see what you mean about facing. And I added my user to wheel before installing plasma

Offline

Board footer

Powered by FluxBB