Questions tagged [policykit]
Now called polkit, it's an OS component for controlling system-wide privileges in Unix-like operating systems.
150
questions
0
votes
0
answers
119
views
Ubuntu chrome remote desktop authentication super user
I tried to use google remote access to my Ubuntu computer for the first time in a while. When I try to turn on the chrome remote desktop to share my device, I get "An unknown error has occurred.&...
3
votes
0
answers
87
views
How to enable accessibility for GTK applications running as root?
I have a graphical application on Ubuntu 20.04 that is run with pkexec to properly get necessary root access. Many users will need the on-screen keyboard for this app, however I noticed that GTK apps ...
0
votes
1
answer
173
views
Gtk desktop app delayed on first launch (20.04)
I have a Gtkmm desktop app that requires root access. It worked fine on 18.04 using Lxqt-sudo but after upgrading to 20.0.4, it takes ~30 seconds to open only the first time after booting. In addition,...
0
votes
0
answers
21
views
Script to disable Network LAN button for normal users Linux
On linux is it possible to disable LAN button for normal users like this one LAN Button
Let's say a normal user would disable the LAN, a popup should occur which requires user to input a password.
...
0
votes
0
answers
105
views
How can I see the core dumps produced by the policy-kit service?
I seem to have an issue with policy-kit. The output of systemctl status --full --lines=100 polkit.service is
Feb 12 18:35:46 flu-T430 systemd[1]: polkit.service: Changed failed -> start
Feb 12 18:...
0
votes
0
answers
287
views
How to enable fingerprint for screen unlocking and PolicyKit authentiation in Kubuntu 22.10?
I registered 2 fingerprints, but they don't seem to show up or work.
Here's my fingerprint reader according to lsusb of my 4th generation ThinkPad X1 Yoga:
Bus 001 Device 017: ID 06cb:00bd Synaptics, ...
1
vote
1
answer
506
views
Ubuntu 22.04 Gnome GUI doesn't ask for password to perform privileged actions (EG Software Updater) - You are not allowed to perform this action
Screenshot
I've got a fresh install of Ubuntu 22.04 Server.
I installed Slim and ubuntu-desktop afterwards to get a GUI.
When I login to the GUI and open the Software Updater it tells me "You are ...
0
votes
0
answers
61
views
why my polit rule seems not in action?
I expect following rules allow me to mount usb without pwd:
cat /etc/polkit-1/localauthority/50-local.d/50-allow-ssh-session-mount.pkla
Identity=unix-group:sudo
Action=org.freedesktop.udisks2....
1
vote
1
answer
250
views
Ubuntu 18.04 xrdp "Fix" Broke Everything
I have a Ubuntu 18.04 box I remotely access using xrdp. I noticed at login I kept getting this "Authentication is required to create a color profile/managed device" message whenever I logged ...
0
votes
0
answers
578
views
After giving admin permissions to a user, xrdp shows a black screen
My host is an Ubuntu 22.04.1 machine on Oracle server, my client is an Ubuntu 20.04.5.
The connection was established via xrdp 0.9.17 using Xorg with no issue. Following this guide, I tried to give ...
0
votes
1
answer
105
views
Why is policykit-1, agetty and qemu-ga running on a VPS server?
I didn't check my Ubuntu VPS server for a while and I can't remember these processes running displayed by ps aux:
root 1074 0.0 0.1 14664 2032 ttyS0 Ss+ 2020 0:00 /sbin/agetty -o -p -- ...
0
votes
0
answers
318
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 ...
1
vote
0
answers
141
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 ...
1
vote
0
answers
169
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, ...
-1
votes
1
answer
205
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
...
2
votes
1
answer
456
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?),...
0
votes
1
answer
610
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 ...
2
votes
0
answers
217
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....
2
votes
0
answers
874
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 ...
3
votes
1
answer
923
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 ...
0
votes
1
answer
647
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 ...
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/...
0
votes
0
answers
442
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
...
0
votes
1
answer
940
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 (...
2
votes
1
answer
387
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. ...
6
votes
1
answer
7k
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 ...
1
vote
1
answer
926
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 ...
1
vote
0
answers
94
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
1
answer
504
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
1
answer
375
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, ...
2
votes
1
answer
524
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
0
answers
141
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 (...
2
votes
1
answer
6k
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
1
answer
652
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 ...
3
votes
2
answers
1k
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 ...
1
vote
1
answer
2k
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
1
answer
1k
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 ...
3
votes
0
answers
585
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
1
answer
4k
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 ...
4
votes
1
answer
7k
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
0
answers
38
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 ...
16
votes
4
answers
55k
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
0
answers
91
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 ...
3
votes
2
answers
8k
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
1
answer
384
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 ...
2
votes
1
answer
3k
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 ...
3
votes
1
answer
14k
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
1
answer
165
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 '...
5
votes
1
answer
8k
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
...
4
votes
1
answer
12k
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 ...