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
1
vote
0answers
12 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
0answers
10 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
20 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
20 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 ...
1
vote
0answers
69 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 ...
0
votes
1answer
371 views

Fingerprint-gui not installing in 20.04

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 and got this error E: ...
1
vote
0answers
19 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 ...
6
votes
3answers
4k views

Fingerprint gui not installing in Ubuntu 20.04

I'm trying to install fingerprint-gui in my Lenovo Ideapad 520. I did install the new Ubuntu 20.04 LTS, however, the fingerprint is not working. I tried going directly to Settings - Users - ...
0
votes
0answers
25 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 ...
0
votes
1answer
83 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
0answers
40 views

How to fix policy kit problem in Ubuntu Studio 18.04?

Under Ubuntu Studio 18.04 I mistakenly try to mount a drive and am presented with an authentication dialog asking for a password for an account with admin privileges. Clicking the "Cancel" button in ...
0
votes
0answers
28 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 ...
0
votes
0answers
48 views

polkit and active directory groups

In my scenario I allow some Windows Active Directory groups to be sudo, like "%Domain Admins" or %AG_Linux_Admins, editing visudo. The users members of Domain Admins or AG_Linux_Admins are able to be ...
1
vote
1answer
264 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 ...
0
votes
0answers
78 views

Ubuntu 19.10 revert polkit to sane defaults asks me for password for everything

polkit is making it so that I have to put in my sudo password everytime I: mount an external usb drive disable any network device change network settings of any kind reboot shutdown I can't believe ...
1
vote
1answer
2k 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
125 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 '...
2
votes
0answers
551 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 ...
1
vote
1answer
2k 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
104 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
271 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 ...
0
votes
2answers
1k 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
940 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 ...
0
votes
1answer
640 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
809 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
267 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
513 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
3k 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 ...
6
votes
3answers
6k 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
1k 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
2k 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
917 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
1k 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
1k 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
474 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
5k 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
161 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/...
5
votes
0answers
645 views

How do I allow a group to manage a systemd service using polkit?

I have a service (some-service) on my system that I'd like to allow members of group managers to control (start, stop, restart). I would also allow these users to use PolicyKit instead of sudo for ...
4
votes
0answers
78 views

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

Where can I find the source code for ubuntu software center

I'm stuck on an issue with polkit authentication in python. I know USC is written in python and they've implemented that. I'd like to know how they do that part.
1
vote
1answer
513 views

How can I create new “gksu” command based on pkexec?

When I google “gksu gedit” one of the top entries (How to run gedit and nautilus as root) advises that gksu usage is frowned upon: gksu hasn't been updated since 2009 and is not recommendedany more....
6
votes
2answers
1k views

Double query for password when waken up

When I turn on my laptop from sleep, I have to input my password twice. Once there is a white rectangular window (reminds me of gnome) and then lighdm unlock screen. When I dissable "Ask for password ...
4
votes
2answers
389 views

How to see what pkaction a software uses

So, I have one software that always asks for password when starting. And I want to run this software without this gksu password prompt popping up everytime. The first thing I tried was adding its ...
1
vote
0answers
1k views

12.04 - Cannot unlock user account although it is an admin account

I am having problems similar to these, but in this post no one managed to solve it. How do I unlock system tools such as users and date and time This issued is bothering me a lot, because it also ...
14
votes
1answer
13k views

/etc/sudoers file corrupted and I can't run 'pkexec visudo' over SSH

Following the instruction here I get: pkexec visudo ==== AUTHENTICATING FOR org.freedesktop.policykit.exec === Authentication is needed to run `/usr/sbin/visudo' as the super user Authenticating as: ...
3
votes
1answer
8k views

Authentication agent and i3wm

How does one turn on an authentication agent like Polkit when using the i3 window manager? I would like to get a password prompt whenever I try to launch an application that requires certain root ...
3
votes
1answer
2k views

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 ...
1
vote
1answer
1k views

How do I mark a group in polkit as administrator?

I am using authentication via smb and want all users of the admins group as local administrators. For this I created the /etc/polkit-1/localauthority.conf.d/60-local.conf file as described in ...
13
votes
2answers
4k views

What is the name of the security concept that explains why Linux asks for root password?

Whenever I'm installing new software or making changes to the system, Linux asks for the root password. What is the name of this security concept and where can I research more information about it?
2
votes
1answer
51 views

Make locally compiled programs request password graphically

I have an application that I downloaded from my class' website for our custom avr robot and it requires root privileges to send our binaries to the robot via usb. When I try to use it with sudo, the ...