The officially official Devuan Forum!

You are not logged in.

#1 2021-04-21 22:01:45

Rpisp
Member
Registered: 2021-04-19
Posts: 30  

policy kit

It seems no matter how long I'm on Linux, the question of how to set up policy kit never gets easier.

Typically I just completely ignore it and use sudo for my needs (nopasswd in sudoers)

Is it advisable to go about things this way, or should I be setting up policy kit?

Is policy kit even necessary?

Sorry for my ignorance but I have to ask

Any help would be appreciated thank you

Last edited by Rpisp (2021-04-21 22:07:20)

Offline

#2 2021-04-22 05:48:28

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: policy kit

For what purpose do you want to set up policy kit?

If you want to use pkexec to launch GUI applications with superuser privileges (which is a bad idea) then you can create some authorisation rules for the programs. See the files provided by synaptic & gparted for examples of this.

Rpisp wrote:

Is policy kit even necessary?

No.


Brianna Ghey — Rest In Power

Offline

#3 2021-04-22 18:51:51

Rpisp
Member
Registered: 2021-04-19
Posts: 30  

Re: policy kit

While I have synaptic installed (for now, prefer apt) it did not create any policy pkla file?
In fact the folder is empty.

Offline

#4 2021-04-22 19:37:01

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: policy kit

What folder? The file is at /usr/share/polkit-1/actions/com.ubuntu.pkexec.synaptic.policy


Brianna Ghey — Rest In Power

Offline

Board footer