You are not logged in.

#1 2021-02-05 23:00:08

TomatoPotato
Member
Registered: 2021-02-05
Posts: 3

[Solved] Can I give desktop apps root with sudo?

Is it possible to give user applications root access using the sudo password instead of the root password? I am using KDE plasma 5 and I know that it can be done from the command prompt using kdesu but I would like to know if it is possible from the prompts that pop up when a program tries to do something that requires root.

Example prompt: https://i.postimg.cc/zBHJ5Y99/Root-Prompt.jpg


Thank you smile

Mod Edit - Replaced oversized image with link.
CoC - Pasting pictures and code

Last edited by TomatoPotato (2021-02-06 14:50:34)

Offline

#2 2021-02-05 23:17:21

loqs
Member
Registered: 2014-03-06
Posts: 19,025

Re: [Solved] Can I give desktop apps root with sudo?

The prompt shows a policykit authentication prompt,  you would need to configure that using policykit.
By sudo password you mean you have sudo configured to prompt for the users password instead of the root password when authenticating?

Offline

#3 2021-02-05 23:22:44

TomatoPotato
Member
Registered: 2021-02-05
Posts: 3

Re: [Solved] Can I give desktop apps root with sudo?

Yeah that is my configuration. Would you recommend that I configure it to ask for the root password instead?

Offline

#4 2021-02-05 23:30:13

loqs
Member
Registered: 2014-03-06
Posts: 19,025

Re: [Solved] Can I give desktop apps root with sudo?

No I simply wanted to make sure I was understooding your request correctly.

Offline

#5 2021-02-05 23:33:19

TomatoPotato
Member
Registered: 2021-02-05
Posts: 3

Re: [Solved] Can I give desktop apps root with sudo?

Well thank you for your help smile

Offline

Board footer

Powered by FluxBB