Questions tagged [polkit]
Polkit (formerly PolicyKit) is a component for controlling system-wide privileges in Unix-like operating systems.
127 questions
1
vote
1
answer
36
views
Browser polkitd pkla-check-authorization spam
I have a U2F yubikey device that works as expected, i.e. I can use it in Firefox and Chromium for U2F style authentication, and it even works on the command line with key-located/bound gpg and ssh sk ...
1
vote
2
answers
111
views
Does Linux have a generic way to dynamically open ports? (Desktop)
By generic, I mean, mostly standard, i.e. not dependent on ufw or firewalld. What I am asking is if there is something akin to what you have on Windows, where if some game wishes to "Open to Lan&...
3
votes
0
answers
133
views
Hibernation does not work under normal user
I have a problem with hibernating my computer.
Everything was working before an update.
The update installed Plasma 6.3.5.
Hibernating from the start menu doesn't work either.
After the update, the ...
2
votes
1
answer
486
views
DBus Policy that Allows Group to Access System Service
I wrote a dbus service and have it listening on the system bus, under the bus name "org.jfhbrook.plusdeck" and the path "/". That seems to be working fine. I have a corresponding ...
1
vote
2
answers
610
views
Force polkit to use a textual authentication agent in a GUI session
I am using the Secureblue Linux distro and I don't like the fact that when I run a script that eventually invokes run0, and leave it running and do something else while I'm waiting, I eventually get a ...
0
votes
1
answer
80
views
how to mount partition with -o remount,ro option without being superuser
If I am root in can run the command mount -o remount,ro /data. However I can not do it in my user session without using sudo. I tried to modify my fstab :
LABEL=DATA /data ext4 auto,rw,users ...
0
votes
0
answers
38
views
Polkit: is possible to avoid password request for users NOT present in group?
Observe this situation
lxcunpriv@nas:~$ id
uid=1001(lxcunpriv) gid=1001(lxcunpriv) gruppi=1001(lxcunpriv)
lxcunpriv@nas:~$ virsh -c qemu:///system list
==== AUTHENTICATING FOR org.libvirt.unix....
2
votes
1
answer
182
views
Restrict which networks a user is allowed to connect to
I'm setting up the guest user account for the PCs of a computer lab, which run Ubuntu 24.04. I'd like the guest account to be able to connect only to our Wi-Fi network, forbidding access to other ...
0
votes
1
answer
148
views
Polkit and local serial consoles
Are serial consoles considered local by polkit? Could that be configured e.g. via /etc/securetty?
3
votes
1
answer
532
views
Access denied for `systemd-inhibit --what=idle`
Problem
On Debian 12 I use IdleAction=poweroff and IdleActionSec=… in logind.conf. This works as intended, the machine powers itself off when it's been idle for long enough.
I want to be able to use ...
3
votes
0
answers
461
views
How to make policykit/polkit ask for YES or NO prompt instead of password?
How to make policykit/polkit ask for YES or NO confirmation instead of asking for the password?
I don't want to remove the polkit prompt, just convert it to a confirmation dialog.
Setting the password ...
1
vote
1
answer
1k
views
debian 12 vm polkit not working with xRDP
I'm encountering a problem with KDE Plasma on Debian 12 on a VM, when using xRDP to access my desktop remotely. The issue revolves around Polkit authentication, where the GUI prompt for administrative ...
1
vote
0
answers
404
views
How to modify/extend USB device access permissions in Debian?
I have a PC with Debian 10. I need the USB drives to have broader permissions than those given by default by the system.
I will give an example: with the user "john" being authenticated, ...
0
votes
1
answer
121
views
Who or what start polkitd in Slackware?
On Linux "who" start daemons?
Suse, RockyLinux, Debian use systemd
Devuan use scripts in /etc/rc*.d/* which are symlinks from /etc/init.d
Slackware: use scripts in /etc/rc.d/rc.* (for ...
0
votes
0
answers
755
views
Polkit rule not working
My pkaction version is 0.112
I have a service that exists in the root directory and I want to give user group admin permissions to run the service.
The service exists in /root/home/custom_service/...