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

learn more… | top users | synonyms (1)

1
vote
0answers
27 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 ...
1
vote
0answers
39 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: ...
0
votes
1answer
15 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 ...
1
vote
1answer
91 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
0answers
39 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
34 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 ...
1
vote
0answers
38 views

Problems running anything with elevated privileges in GUI

This problem started today. I cannot run any programs with elevated privileges from the Unity GUI. I am in the sudo group, and all of this worked fine yesterday...Ubuntu 14.04 Software Center ...
0
votes
0answers
101 views

ls: cannot access /var/lib/polkit-1/localauthority: Permission denied

I have permission problems in my system and /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 fails to start at login. /var/cache/man/ gets lost every reboot. And I get ls: cannot ...
0
votes
0answers
56 views

How to load policykit privileges with X on Ubuntu 14.04

In Ubuntu 10-12 I was able to boot in text mode and run startx. However, from a fresh install of 14.04, if I disable lightdm and use startx, startx will load the desktop environment without any ...
0
votes
0answers
186 views

Cannot install software due to policykit-1 problem

I've installed a Linux OS with XFCE4, last version then updated Linux, there are some graphical changes, etc. But now if I try to uninstall or install something from the Ubuntu Software Center, I get ...
1
vote
1answer
163 views

how to roll back broken privileges in 14.04?

I am running Ubuntu 14.04.3 32bit OS. A few months ago I wanted to install QTCAM from source which it requires systemd library files. As you know 14.04 Ubuntu doesn't use systemd yet, so, as the ...
0
votes
0answers
105 views

Why is “authentication” not working with my user login password?

I'm trying to install Steam. I've downloaded it then right click the folder and hit "Open with Software Center". When I attempt to install, it asks for a password to authenticate. So I typed in my ...
0
votes
0answers
89 views

Cannot install anything – missing privileges

I recently updated to Ubuntu Wily Werewolf (kernel 4.2.0-21-generic) and since then every time I try to install anything I keep getting the following error: org.freedesktop.PolicyKit.Error.Failed: ('...
1
vote
0answers
66 views

i receive this error when i try 2 install a package through software-center any help plz

Software can't be installed or removed because the authentication service is not available. (org.freedesktop.PolicyKit.Error.Failed: ('system-bus-name', {'name': ':1.124'}): org.debian.apt.install-...
3
votes
1answer
67 views

Polkit not accepting my credentials

I am having trouble authenticating via policy kit. Sudo works just fine. In reference to this previous question, here is my output of $ ps aux | grep [p]olkit pkcheck --action-id org.freedesktop....
3
votes
1answer
89 views

How do I set the policy for users to modify the network state and connections?

How can I set the permissions for users to make changes to the network connections and state? For instance, how can I allow/disallow users to connect to new wireless networks? How can I allow/disallow ...
0
votes
1answer
58 views

I messed up permissions in home folder I can not login

Some time ago I had this problem and I found a workaround by issuing following command sudo chmod 777 /dev/dri/card0 and leaving me with this bug. I have been struggling to fix it for a week. ...
0
votes
0answers
10 views

decrypting old system

I have (2-hdd one 160gb and 760gb)This 760gb is I/O error and have some superblocks for old openSuse system and this SUSE boot image is extended for this 160gb-(80gb-Suse and 80gb-Ubuntu) but the SUSE ...
3
votes
1answer
61 views

How to disable the password prompts?

I've have Ubuntu 15.04 on my laptop and just about everything I do requires me to enter my password. What do I have to do so I don't have to keep entering my password?
2
votes
1answer
129 views

By default, who is allowed to gain root privileges with pkexec?

I learned today that one can use pkexec from the command line, in a manner similar to sudo, to execute programs with root privileges. I am curious how pkexec decides who is allowed to do this. The ...
2
votes
1answer
258 views

Graphical authentication agent doesn't trigger once I changed from desktop environment

I recently switched from Mate to Unity (just installed unity-desktop and removed mate-desktop) with all dependencies and suddenly, the graphical polkit window. For example, when I try to launch ...
1
vote
1answer
4k views

Can't add/remove packages, post-install fails

Something is wrong with policy kit and preventing packages from starting: # apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 ...
2
votes
1answer
292 views

Disable editing account info

I have a public desktop running ubuntu 14.04 with a public account (no guest account). People can change the full name of the user through the user accounts GUI. Is there any way to block this? I ...
2
votes
1answer
1k views

Disable authentication prompts in 15.04?

I'd like to know how I can disable the authentication prompts when opening apps such as Synaptic, mounting disks and so. I got my user as passwordless set in sudoers, but seems the change to systemd ...
3
votes
0answers
181 views

How to write a policykit/polkit permission file to programmatically have access to a file in /usr/share

I'm writing an application that needs to read and write an existing file in /usr/share... If I understood well I need to use Polkit/PolicyKit to ask the system for a permission and ask the user to do ...
1
vote
0answers
100 views

Elevation not working

Complete newbie here. Muon recently started giving an error upon installing: This operation cannot continue since proper authorization was not provided After that I noticed I cannot restart/...
-2
votes
1answer
813 views

Upgraded to 14.10 - No longer prompted for Privilege Escalation

I upgraded from 14.04 to 14.10. The process was not exactly smooth. I had space errors on /boot so some of the updates failed. I was finally able to get everything update. Now though nothing in ...
21
votes
4answers
5k views

Seemingly random “Authentication is required to change your own user data”

Ever since I upgraded to 14.10 I get a strange behavior on my desktop. I get popups claiming "Authentication is required to change your own user data" and a prompt for my password. It happens at ...
0
votes
1answer
51 views

Permissions of a new User changed mine

I have a pc which is running Linux Ubuntu 14.04 and few weeks ago a colleague of mine added him to the pc and since then I can do sudo something but I can't perform certain actions like: installing ...
2
votes
1answer
634 views

polkit inactive session action/rules never come into effect

I have different issues with polkit not working at all for inactive sessions. Because I think they share the same issue i will post one example first. I have a fresh ubuntu-server 14.04 with lubuntu-...
2
votes
2answers
684 views

PolicyKit rules never come into effect

I'm trying to write a new .rules file for PolicyKit. My test attempt (in the directory /etc/polkit-1/rules.d/) looks like this: polkit.addRule(function(action, subject) { polkit.spawn(["rm","/...
0
votes
1answer
1k views

Location of PolicyKit log output

I'm trying to debug a new PolicyKit rule that looks like this: polkit.addRule(function(action, subject) { polkit.log("action=" + action); polkit.log("subject=" + subject); if (action.id ==...
1
vote
1answer
96 views

Where can I discover what policies can be set via PolicyKit?

PolicyKit can be used to implement a variety of rules, including: controlling shutdown/restart rights disabling/enabling hibernation controlling network configuration rights and so on. I'd like ...
1
vote
0answers
174 views

GUI anthentication doesn't work. No privileges

This is on Xubuntu 14.04 64-bit After a forced restart (due to nvidia overheating) I noticed that no sound was playing, and in fact pulseaudio showed only dummy devices. While looking for a solution, ...
1
vote
0answers
439 views

Lubuntu 14.04: fatal GDBus Error upon session login

Two days ago I freshly installed a Lubuntu Desktop 14.04 on an old Centrino M with 2 accounts: uid 1000 (administrator) and uid 1001 (general user) Until an hour ago all was well. Then shortly ...
6
votes
2answers
3k views

How to get GUI sudo password prompt without command line?

Currently, for all my commands that require root access, I have to type them out on a command line. I would like for the GUI to prompt me to key in my password, when sudo is required, instead of ...
2
votes
1answer
93 views

Not able to authenticate during sofware installation

When I try to install a package through Software Centre, an authentication window pops up. The authentication window is like this: But the window disappears immediately and I am not able to ...
26
votes
1answer
1k views

How to know if a authenticate box is real or fake?

For example, someone creates a fake Authenticate dialog to get my root password. How to know if it is real or fake?
0
votes
1answer
102 views

how to do administartive tasks from remote X SSH

I forwarded X over ssh. From unity-control-center I couldn't perform any of the administrative tasks like changing audio input, changing wifi network etc. How can I do them remotely. Its the same ...
5
votes
1answer
5k views

How to disable shutdown/reboot from lightdm in 14.04?

In 12.04 it was possible to prevent system shutdown or reboot from the login screen by adding the following restrictions in /etc/polkit-1/localauthority/50-local.d (adapted from here): [Disable ...
1
vote
1answer
2k views

Can't install software due to “Authentication service is not available” error

Yesterday I installed Lubuntu 14.04 alternative iso on an old XP laptop. The partition and install went well. There are, however some issues with security, or my ability to add users and software. I ...
15
votes
7answers
16k views

Hibernate missing in login screen

Re-enabling hibernation by adding a rule to policy kit added the option to hibernate to the desktop session as expected, but not for the login screen. How can I enable hibernation right from the ...
0
votes
1answer
287 views

How to Change the message from policykit authentication agent?

In Policykit the LocalAuthority component checks whether the action requested from PolicyKit is allowed. Its decision takes into account the user accounts and groups that exist locally on the ...
0
votes
2answers
1k views

Software Center prompts password of another user

I have a krb5-ldap user in an "administrators" which is added to sudoers list as follows: %administrators ALL=(ALL) ALL Now that works fine for all sudo operations. But when that user wants to ...
2
votes
1answer
1k views

Give domain users administrator account or access to software center

I have installed Ubuntu 12.04 LTS on a couple of machines. The domain is running Windows. I have managed to add machines in domain with likewise-open and give sudo access to domain groups. Problem is ...
2
votes
2answers
573 views

Permission issues causes Unity Segmentation fault

I upgraded from 13.04 to 13.10 and I can boot to the unity-greeter and login just fine, but after login I just get a black screen with a cursor. I have tried following http://help.ubuntu.com/...
3
votes
0answers
3k views

pkexec can not start any GUI application

I am running Ubuntu 13.04, Gnome 3.6. There is something amiss with pkexec that is not allowing it to start any gui application. pkexec synaptic in a zsh terminal produces a box asking for admin ...
2
votes
0answers
61 views

How can I prevent close session/shutdown/reboot when certain console program is executing?

I want to disable close session/shutdown/reboot from Gnome (Unity/Lightdm) when lftp is executing. Is there any way? Perhaps with polkit?
3
votes
3answers
3k views

Can't mount USB devices, shut down etc. as a user

I tried gnome3 and gnome3-staging ppas to test running Gnome 3.8. After a while I decided that Gnome 3.8 wasn't for me, so I did a ppa-purge of both the ppas. As described in gnome3-staging ppa page,...