It's an OS component for controlling system-wide privileges in Unix-like operating systems.

learn more… | top users | synonyms (1)

1
vote
1answer
103 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
45 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
62 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
21 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'}): ...
1
vote
0answers
24 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 ...
3
votes
1answer
21 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
37 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 ...
2
votes
1answer
76 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
203 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
2k 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
184 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
742 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 ...
0
votes
0answers
100 views

How can I elevate my app privileges programmatically?

My application needs to sometime write a file that needs elevated privileges. It seems that Polkit is the way to go and Gtk.LockButton provides an easy way to handle the UI part. I know how to use ...
3
votes
0answers
127 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
83 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 ...
-2
votes
1answer
642 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 ...
17
votes
3answers
3k 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 ...
1
vote
0answers
480 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 ...
0
votes
2answers
424 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) { ...
0
votes
1answer
748 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
86 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
157 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
366 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 ...
5
votes
2answers
2k 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
79 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 ...
25
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
79 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 ...
3
votes
1answer
4k 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
15k 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
258 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
661 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
543 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 ...
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
58 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 ...
1
vote
0answers
34 views

How to stop Software Updater from request password for a specific user? [duplicate]

How can I stop Software Updater from asking me (and only me) for password when updating its files? I understand that I should tell somebody (PolicyKit?) that I don't want password prompts for ...
0
votes
1answer
76 views

lost right as administator

I have 12.04 freshly installed in my laptop. Recently I lost my rights as administrator. Hereare the problems: unable to do updates from Update Manager (though no problem if I do it from terminal). ...
0
votes
1answer
851 views

policykit-desktop-privilege - rules not in effect

my xubuntu installation asks me for my password everytime I try to mount/umount/update software ... all the things that policykit-desktop-privilege should grant me. The user is in both admin and sudo ...
3
votes
0answers
2k views

Where is the KDE PolicyKit Authorization manager in Kubuntu? [closed]

In order to be able to answer this question, I was looking for a way to manage PolicyKit in KDE. Using Google I quickly ran into the KDE's official Authorization manager (mentioned here and here in ...
6
votes
2answers
5k views

How can non-admin users connect to Wi-Fi networks?

I'm trying to configure PolicyKit so that other users are allowed to configure Wi-Fi connections, but my changes don't seem to bring any results at all. When a non-admin user tries to connect to a ...
4
votes
1answer
450 views

What happened to the graphical PolicyKit settings?

Back in 8.04 or so, when PolicyKit was new, we had a GUI "browser" that enabled us to easily decide things like whether a user should be allowed to shutdown the system when other users were logged in ...
4
votes
2answers
753 views

Allow user to upgrade installed packages

My users don't have administrative privileges. I don't allow them to install packages from Ubuntu repositories but they must be able to install all updates availables from Ubuntu repositories and my ...
1
vote
1answer
472 views

Access to NTFS partition WITH authentication

xubuntu allows by default the mounting of an ntfs partition without requesting any kind of authorization. How can I force it to request authorization (fhe same way that synaptic requires authorization ...
4
votes
3answers
4k views

How to make Ubuntu ask for password when mounting partitions?

I have been through this kind of feature in older versions of Ubuntu. When I'd like to mount a partition it will ask me a password. Now I want to enable that kind of feature in Ubuntu 12.04. How can ...
2
votes
1answer
330 views

Are console and gnome applications using different sudoers file ?

According to our office Admin rules, developer's machines should not have admin privilege, which i hated so much. so I decided to enable the sudo access with some work around found in web (booting ...
2
votes
0answers
189 views

Policykit - E17 without LightDm: Problems with Webcam and Connection manager [duplicate]

I'm using E17 without LightDm ( it saves about 200 mb ram ). I manage to do that easily and now I'm starting E17 with the old nice startx and a .xinit file in my home root. my .xinit : exec ...