You are not logged in.
Pages: 1
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
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.
Is policy kit even necessary?
No.
Brianna Ghey — Rest In Power
Offline
While I have synaptic installed (for now, prefer apt) it did not create any policy pkla file?
In fact the folder is empty.
Offline
What folder? The file is at /usr/share/polkit-1/actions/com.ubuntu.pkexec.synaptic.policy
Brianna Ghey — Rest In Power
Offline
Pages: 1