Questions tagged [policykit]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
46 views

Disabling linux user password prompts when accessing encrypted drives (polkit conf?)

I just created a new ext4 partition on a new drive and decided to use LUKS to encrypt it. I entered a password to use for encryption and the partition was created. So far, so good. However, I have the ...
user avatar
0 votes
0 answers
39 views

Unable to edit Network settings, Polkit error

I have a desktop PC with Ubuntu installed, with Static IP address edited. Before the reboot, Internet it's working without problems, i can access the Network settings without problem. But after the ...
user avatar
0 votes
0 answers
27 views

Polkit authentication dialog locks focus

I'm using XFCE as desktop manager with XFWM as the window manager. Whenever an application uses polkit (or at least that's what I think it is) for authentication, the password dialog locks focus, so ...
user avatar
  • 43
0 votes
0 answers
32 views

Delete polkit rule

I have followed this article https://devanswers.co/how-to-fix-authentication-is-required-to-create-a-color-profile-managed-device-on-ubuntu-20-04-20-10/ Now I am no longer able to remove users, ...
user avatar
0 votes
1 answer
38 views

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 ...
user avatar
0 votes
0 answers
230 views

What is policy kit used for on Ubuntu Servers?

I put a bounty on this question hoping that I'd get a more nuanced answer other than no, don't uninstall it. What I really want to know is what is it used for. I have a few hundred ubuntu servers, ...
user avatar
3 votes
1 answer
125 views

After installing Chrome Remote Desktop polkit permissions are all skrewed up

After installing chrome-remote-desktop on Ubuntu 21.10 it seems to mess up polkit permissions. It asks for my password 3 times after logging in (color profiles, remote repositories, color management?),...
user avatar
  • 175
0 votes
1 answer
137 views

always ask for sudo password when rebooting/shutdown the system

So, I noticed that on manjaro, if there is only one user, typing reboot without sudo, will just fail and ask for the sudo password, whereas on ubuntu server, typing this doesn't ask for the sudo ...
user avatar
  • 53
1 vote
0 answers
65 views

Where are Polkit actions documented?

How does one determine the name of a program (application) for Polkit? In this example (a file in /etc/polkit-1/localauthority/50-local.d/) [My Muon Permissions] Identity=unix-group:sudo Action=org....
user avatar
1 vote
0 answers
260 views

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 ...
user avatar
  • 11
3 votes
1 answer
298 views

How do I allow non-admin users to control printers?

An Ubuntu (21.10) PC is shared among a number of users, most of whom are not administrators. They are not allowed to install/remove/update software or directly alter system files, nevertheless all of ...
user avatar
  • 54.1k
0 votes
1 answer
269 views

Polkit All Messed Up

Ubuntu, vanilla 20.04.3 LTS - Originally installed Ubuntu about June of 2018. Somehow I recently messed up my own permissions and started getting polkit error messages about me not being a member of ...
user avatar
8 votes
1 answer
1k views

How does Firefox update itself without asking for root/sudo password?

How does Firefox update itself without asking for root/sudo password? It's installed in /usr, where regular users don't have write permissions, and neither /usr/bin/firefox, nor any files in /usr/lib/...
user avatar
  • 622
0 votes
0 answers
261 views

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 ...
user avatar
0 votes
0 answers
240 views

polkit? How do I make timeshift gui start without making me enter my password? (`Authentication is needed to run '/usr/bin/env' as the super user`)

I really don't need this nagging dialog box forcing me to enter my password every time I want to do something with backups, but I can't figure out how to disable it ( like, it's clearly not a matter ...
user avatar
  • 341
0 votes
1 answer
344 views

I am not able to use any software that requires user authorization if not using gnome (21.04)

I am not able to use any software that requires user authorization, like ubuntu software center (snap store), softwares updates, etc, because when it's time to ask for my password to execute the task (...
user avatar
  • 101
2 votes
1 answer
250 views

How to force policy-kit agent to show full information about command line arguments

I am using Ubuntu Mate 20.04 and pkexec to launch apps with admin privileges if needed. However, when policy agent kit asking to authorize request, there is no enough information to make a decision. ...
user avatar
  • 231
6 votes
1 answer
4k views

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 ...
user avatar
1 vote
0 answers
360 views

The "Unlock" button has no effect in the "Time and Date Settings" dialog

I am trying to change the timezone via UI. In order to do that I run time-admin from a command line as a regular user. (It is also possible to open the same dialog by right-clicking on the Clock ...
user avatar
1 vote
0 answers
69 views

installing software policy without password

I'm using Ubuntu 18.04.5 LTS, There are two accounts one with administrator privileged, the second is the standard one(without password) I created a new file called: 10-allow-users-to-install.pkla ...
user avatar
  • 51
0 votes
1 answer
337 views

Software & Updates permission failed

OS: Ubuntu 18.04.5 LTS x86_64 Kernel: 4.15.0-135-generic DE: MATE When i run Software & Updates i get the following error: You are not allowed to perform this action You don't have the required ...
user avatar
0 votes
1 answer
290 views

locked out of my luks volume "Not authorized to perform operation (polkit authority not available and caller is not uid 0)"

For no apparent reason, I can no longer access my LUKS-encrypted volume. It has been working for months but today on trying to open it in Nautilus, I get a passphrase request (which I didn't before, ...
user avatar
2 votes
1 answer
228 views

Polkit Window doesn't allow user selection, how to pick different admin

I'm running the latest Ubuntu 20.04.1 It seems like polkit(I could be wrong here) isn't working as expected. When a regular, non-admin, user tries to do something that needs admin, they get a dialog ...
user avatar
  • 23
0 votes
0 answers
59 views

This a problem with /etc/sudoers.d file?

After executing this line, the return worried me. ~$ sudo apt-get update && apt-get upgrade && apt-get dist-upgrade E: Could not open lock file /var/lib/dpkg/lock-frontend - open (...
user avatar
2 votes
1 answer
4k views

firewall-cmd error on polkit

I am trying to run firewall-cmd --list-all but i am receiving the response Authorization failed Make sure polkit application is running or run the application as superuser. I can see that polkit is ...
user avatar
  • 31
3 votes
1 answer
495 views

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 ...
user avatar
  • 618
2 votes
1 answer
546 views

Configuring Polkit to allow complete control remotely

I have a headless server running Ubuntu 20.04 LTS. It has been infuriating trying to deal with configuring various aspects of my server when I am not allowed to do so. Polkit has made the simple act ...
user avatar
1 vote
1 answer
936 views

Allow Remote Users to Add/Remove Printers

This is driving me up the wall! I feel I'm so close, but I'm probably missing just one tiny detail. I have a Ubuntu desktop setup to be a CUPS server. I need to add printers via the GUI interface, ...
user avatar
1 vote
1 answer
875 views

unable to enable sierra modem due to policykit

I have a machine running ubuntu 16.04 and mmcli 1.6.4 with a Sierra MC7710 modem installed. It's currently showing mmcli -m 0 -w /org/freedesktop/ModemManager1/Modem/0: Initial state, 'disabled' when ...
user avatar
  • 141
2 votes
0 answers
348 views

Configure pkexec to only prompt for password once

When using sudo there is a timeout where you don't have to type the password again for x minutes when you run sudo again. Is it possible to get the same thing for graphical applications which use ...
user avatar
  • 305
4 votes
1 answer
3k views

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 ...
user avatar
  • 41
4 votes
1 answer
6k views

Fingerprint-gui not installing in 20.04 [duplicate]

I tried the following but no use: sudo add-apt-repository ppa:fingerprint/fingerprint-gui sudo apt update sudo apt install libbsapi policykit-1-fingerprint-gui fingerprint-gui I got this error: E: ...
user avatar
  • 53
1 vote
0 answers
27 views

Fingerprint gui not installing in ubuntu 20.04 Even tried adding ppa [duplicate]

I tried the following commands: sudo apt-add-repository ppa:fingerprint/fingerprint-gui && sudo apt-get update sudo apt-get install libbsapi policykit-1-fingerprint-gui fingerprint-gui but I ...
user avatar
  • 53
15 votes
4 answers
47k views

Fingerprint GUI not installing in Ubuntu 20.04

I'm trying to install fingerprint-gui on my Lenovo Ideapad 520 having Ubuntu 20.04 on which fingerprint isn't working for now. I tried going directly to Settings → Users → Automatic login and enabled ...
user avatar
1 vote
0 answers
65 views

How to install software using Software Center as non-root user?

How can I allow non-root users to install from Software Center? I want to be able to install software as current logged in user, but instead I am prompted with Administrator and Password. This is ...
user avatar
2 votes
1 answer
5k views

NetworkManager constantly prompts for admin password

I'm running Ubuntu 19.10. NetworkManager constantly asks for the admin password with "System policy prevents wi-fi scans" I've seen online instructions for how to disable this with polkit, but nothing ...
user avatar
  • 175
0 votes
1 answer
158 views

polkit asks for password constantly while looking at wifi settings

polkit asks for my password when I do ANYTHING with wifi settings. I've already tried editing usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy and setting allow_active to yet, but it ...
user avatar
  • 175
1 vote
1 answer
2k views

How to let Polkit request root password instead users password

I'm seeking for kind of old style solution: I need to cause all elevated priviledges platform on Ubuntu machine to request target user/root password instead of asking for calling user password. I've ...
user avatar
2 votes
1 answer
11k views

not authorized to perform operation polkit authority not available

I have successfully set up remote connection to a PC (which uses linux) via XRDP. the system from which the connection is lunched is on Windows 10. when using remote connection, I am not given ...
user avatar
0 votes
1 answer
157 views

Can not run updates on Bionic 18.04

So I had a problem with Xenial and thought it would be solved when I upgrade to Bionic but I still have the issue. After doing a fresh install of Bionic, I tried to update everything using the '...
user avatar
  • 21
4 votes
1 answer
3k views

Can't update flatpak: »Flatpak system operation Deploy not allowed for user«

I have some problems trying to update my flatpaks. I have several applications installed via flatpak (system wide) and from time to time I am updating all of them with the command: flatpak update -y ...
user avatar
  • 5,816
4 votes
1 answer
8k views

Ubuntu 18.04: No polkit authentication agent found

I get the error message above when I try to write to a file I don't have permission to in Visual Studio Code. I choose "Retry as sudo": Click sudo and get the error: Error message This only happens ...
user avatar
0 votes
0 answers
207 views

can't update from 16.04

I haven't had much help in the reddit/crouton forums so I thought i'd try here. I'm trying to upgrade my ubuntu 16.04 to 18.04 and it is saying I do not have the proper permissions. the same thing ...
user avatar
  • 21
4 votes
0 answers
1k views

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 ...
user avatar
  • 180
2 votes
2 answers
3k views

How can I mount partitions in Thunar without password?

I've tried adding the following to my /etc/polkit-1/localauthority/50-local.d/ [storage group mount override] Identity=unix-user:ada Action=org.freedesktop.udisks2.filesystem-mount;org....
user avatar
0 votes
2 answers
2k views

LDAP accounts not given same rights/permissions/policies as Local accounts

Just tried switching from Linux Mint to Ubuntu 18.10 but encountered numerous problems with accounts. All the steps to recreate are below in details. I would love to know how Ubuntu 18.10 ...
user avatar
1 vote
1 answer
1k views

Snap package daemons won't start on fresh Ubuntu Server install

a couple of days ago I installed Ubuntu Server 18.04. Snap packages were a large reason for this, however snap package daemons won't start. So far I've tried NextCloud, PlexMediaServer and RocketChat-...
user avatar
2 votes
1 answer
2k views

Polkit pkla files seem to be ignored in 18.04

I have a luks encrypted volume on my 18.04 Kubuntu Laptop. When I double click on it in Dolphin I'm asked for the luks password and the volume is mounted. Everything is fine. But this volume is also ...
user avatar
  • 31
1 vote
1 answer
360 views

How to troubleshoot pen drive mounting via File Manager in Xubuntu?

I have Xubuntu 18.04 and I can't make pen drives mount when I click on them in the file manager. I get a Failed to mount "PEN DRIVE LABEL". Not authorized to perform operation. pop up error. This is ...
user avatar
  • 41
1 vote
1 answer
1k views

polkit not working properly in Ubuntu 16

I have a dual boot, and in order to mount the Windows filesystem from Ubuntu, I had set it up so that I need to type in my password, to prevent me from accidentally mounting a system by clicking the ...
user avatar