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
0answers
26 views

How can I repair PolKit? [closed]

First let me describe my system. It's not "pure" Ubuntu, it's Mint 19.0 (Tara). Mint itself isn't the problem, but it's upgrade mechanism seem to have triggered the issue. It came after ...
2
votes
1answer
55 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. ...
0
votes
1answer
187 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 ...
0
votes
0answers
35 views

policykit prompting for password on startup

At every desktop startup I am prompted by a popup dialog to supply password. The 'details` of the dialog say that the prompt is from policykit. The issue started with 20.10 and persists now with 21.04 ...
1
vote
0answers
70 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 ...
0
votes
0answers
52 views

polkit, can not choose admin user (ad integrated)

I have an AD integrated Ubuntu Desktop 20.04. When I open a program (like Firewall) it asks for a password. However, I only want "Domain Admins" to have admin rights. "Domain Admins&...
0
votes
0answers
181 views

Ubuntu 20.04, PolKit and FreeIPA

Trying to get FreeIPA client working on Ubuntu 20.04 desktop 100% is a frustrating experience. The basic set up, logging in with a kerberos account is ok, but it's things like getting commands and ...
1
vote
0answers
58 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 ...
0
votes
1answer
88 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 ...
0
votes
0answers
68 views

Authentication popup stopped showing, Discover shows “Failed to obtain authentication”

I now face the exact same issue my 18.04 and 20.04 installation suffer from. I'm currently on 20.10 and the issue I have is that when I open Discover to update apps it always comes up with "...
0
votes
1answer
72 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, ...
1
vote
0answers
39 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 ...
0
votes
0answers
73 views

Can't shutdown / lost privileges

Upgraded from 18.04 to 20.04 with live USB, GNOME 3.36.3 and system has been going since 12.04. Single user initially setup with admin privileges. Shutdown button in gnome doesn't doesn't work, but ...
0
votes
0answers
40 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 (...
1
vote
1answer
837 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 ...
3
votes
1answer
255 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 ...
1
vote
0answers
244 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 ...
0
votes
1answer
413 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, ...
1
vote
1answer
354 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 ...
2
votes
0answers
132 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 ...
4
votes
1answer
1k 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 ...
3
votes
1answer
3k 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: ...
1
vote
0answers
25 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 ...
14
votes
4answers
28k 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 ...
1
vote
0answers
50 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 ...
1
vote
1answer
2k 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 ...
0
votes
1answer
61 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 ...
1
vote
1answer
1k 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 ...
1
vote
1answer
7k 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 ...
0
votes
1answer
143 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 '...
3
votes
1answer
1k 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 ...
3
votes
1answer
5k 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 ...
0
votes
0answers
145 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 ...
4
votes
0answers
665 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 ...
2
votes
2answers
2k 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....
0
votes
2answers
1k 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 ...
1
vote
1answer
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-...
1
vote
1answer
1k 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 ...
1
vote
1answer
318 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 ...
0
votes
1answer
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 ...
1
vote
0answers
4k views

PolicyKit daemon disconnected from the bus. Error when starting services without sudo on the super user account

Hopefully this will be a quick fix, but I have been having a consistent error whenever I try and start a service on my machine. Whether it be ssh, rdp or apache2, whenever I try and launch the ...
8
votes
3answers
7k views

Polkit pkla rule is not working on 18.04

I have troubles with infamous colord policy prompts on Gnome 3.28.1. With XFCE desktop on the same system I have no such problem. I work via xrdp and always get this prompt and I cannot disable it. ...
1
vote
1answer
2k views

Language Support in 18.04 not working org.freedesktop.PolicyKitError.Failed

I believe that after upgrade to 18.04 Lubuntu I have a common root problem which affects many things. Looks like no application, which would require root privileges could open. For example, Synaptics ...
0
votes
2answers
3k views

How to disable password prompt while mounting partitions?

I'm using ubuntu mini.iso to setup a dual boot system. I've already installed polkit to be able to mount windows(and other ntfs partitions) while using GUI. But every time I try to mount them from ...
0
votes
1answer
1k views

How do I fix the automounting of USB drives after installing Openbox on Ubuntu 16.04?

I am installing Openbox on Ubuntu 16.04 because I need to eliminate the top window bar for the application I am running. This appears to be a good solution except that the system no longer automounts ...
0
votes
1answer
2k views

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,...
2
votes
1answer
2k views

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? ...
2
votes
1answer
637 views

What does this hard drive authentication after login in LXDE mean?

I am using LXDE on Ubuntu 16.04. When I wake it up from suspension, I login in, and then another authentication window appears. What does that mean? Is it necessary? If not, how can I get rid of the ...
1
vote
0answers
6k views

gdbus.error:org.freedesktop.DBus.Error.AccessDenied error when running on battery

I have ASUS GL552VW laptop with Xubuntu 17.04 and when I get out of power (running on battery) I've got this error in notification popup: gdbus.error:org.freedesktop.DBus.Error.AccessDenied ...
2
votes
1answer
176 views

Policykit issue after installing custom kernel

OS: Xubuntu Original Kernel version: 4.4.0 New Kernel version: 4.1.3 I recently compiled a patched kernel. The details of the patch and installation procedure are here: https://wiki.litmus-rt.org/...