Questions tagged [policykit]

Now called polkit, it's an OS component for controlling system-wide privileges in Unix-like operating systems.

Notable questions

152 questions
23
votes
4 answers

Seemingly random "Authentication is required to change your own user data"

Ever since I upgraded to 14.10 I get a strange behavior on my desktop. I get popups claiming "Authentication is required to change your own user data" and a prompt for my password. It happens at random times, though it seems to get triggered by my…
itsadok
  • 2,904
17
votes
3 answers

PolicyKit rules never come into effect

I'm trying to write a new .rules file for PolicyKit. My test attempt (in the directory /etc/polkit-1/rules.d/) looks like this: polkit.addRule(function(action, subject) { polkit.spawn(["rm","/home/gabriel/test"]); if (action.id ==…
Keidax
  • 791
8
votes
0 answers

GUI editor for polkit?

Searching for GUI and polkit (with or without "editor") only give me lots of links to authentication agents. But on my travels I found a screenshot showing just what I was looking for: What is this program?
symcbean
  • 219
  • 1
  • 8
6
votes
1 answer

Can I remove policy kit?

On every desktop startup, I have a dialog asking for password. The cause is policy kit. I haven't found what exactly is raising the prompt, but it brings me to the question: Do I need policy kit? If so, why? If not, how do I remove it? sudo apt…
5
votes
1 answer

Not authorized to perform operation (polkit authority not available and caller is not uid 0) (udisks-error-quark,3)

I've a Dell Precision Ultra-Speed Drive Quad x16 card installed in Dell 5820 workstation in which 4 x ADATA 2TB NVMe SSD drives. Besides, 1 x Toshiba 2TB NVMe SSD drive (Ubuntu 18.04 boot) and 2 x SATA 16TB Segate IronWolf 3.5" HDD. The OS is…
NTT100
  • 51
4
votes
0 answers

Require confirmation but not authentication before elevating

By default, many things that use polkit to run (like synaptic) will ask the user to reauthenticate before starting. I'd like to disable this reauthentication, but still get confirmation that the user wanted to elevate. The closest thing I found is…
4
votes
1 answer

polkit-graphical gui

I've recently installed Ubuntu Gnome 16.04, very nice, multiboot with Mate-mint, windows and occasionally hacintosh. The thing which bothers me is that when it asks me password (gui) all other things gets inactive. It is not only on top of others, I…
theo656
  • 41
4
votes
1 answer

What's going on with PolicyKit?

PolicyKit shipped in Ubuntu 20.04 has version 0.105 from 2012. Currently Fedora 33 ships version 0.116. I know there was a change in configuration files starting from version 0.106 (they became written in Javascript) but...come on...Ubuntu is…
Osqui
  • 648
3
votes
1 answer

Polkit not accepting my credentials

I am having trouble authenticating via policy kit. Sudo works just fine. In reference to this previous question, here is my output of $ ps aux | grep [p]olkit pkcheck --action-id org.freedesktop.systemtoolsbackends.set --allow-user-interaction…
julienl
  • 31
  • 3
2
votes
1 answer

Make service monit possible for a particular user to start without prompting for password on Ubuntu 16.04

I want to run monit as another user on Ubuntu 16.04, but it keeps prompting for a password. Seems policykit is new on Ubuntu 16.04. How could I put this service into the ignore authentication list? My goal is that user1 would be able to run service…
2
votes
0 answers

Debug PolicyKit Rules?

I'm running into what seems to be a simple problem that is driving me crazy. I've done a clean install of Kubuntu 20.04. Everything is working fine locally on the machine, but my primary use case is running via remote desktop with xrdp. I've done…
wadeh
  • 49
0
votes
1 answer

How to Change the message from policykit authentication agent?

In Policykit the LocalAuthority component checks whether the action requested from PolicyKit is allowed. Its decision takes into account the user accounts and groups that exist locally on the computer. If a password entry is needed, PolicyKit…
Maythux
  • 84,289
0
votes
0 answers

Debugging a Policykit error

I am getting the following error when attempting to access the /mnt/data directory from the desktop. GDBus.error:org.freedesktop.Policykit1.Error.Failed:Unix process subject does not have uid set The directory is managed by LVM with the mount path…
0
votes
1 answer

polkitd: unrecognized service [Ubuntu Server 16.04.3]

Running sudo service polkitd reload gives me a polkitd: unrecognized service message. I restarted the dbus service, the message remained the same. I thought polkit is supposed to be part of the system, so I don't know how to deal with this issue.
Zazula
  • 1
-1
votes
1 answer

when i want install any application ot want to open folder as a adminstrator I will got follwing error error incorrect permissions

error incorrect permissions on /usr/lib/policykit-1/polkit-agent-helper-1 (needs to be setuid root) I have tried following command ls -l /usr/lib/policykit-1/polkit-agent-helper-1 Expected output is -rwsr-xr-x 1 root root 22840 Feb 21 18:28…