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

learn more… | top users | synonyms (1)

2
votes
1answer
37 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 ...
1
vote
1answer
84 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
31 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 ...
2
votes
0answers
43 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 ...
0
votes
0answers
55 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 ...
-3
votes
1answer
194 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 ...
4
votes
0answers
807 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
44 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 ...
0
votes
0answers
316 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
0answers
113 views

ck-list-sessions remains empty after a log in, loginctl works right, what could stop polkit-1 from working?

A while back (upgrade to 13.04 if I'm correct) the polkit-1 I had on a couple of computer stop working (right). Before, I could log in as admin via SSH and the X11 users could not log out (they would ...
0
votes
1answer
132 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
262 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
56 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
102 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, ...
0
votes
0answers
213 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 ...
3
votes
2answers
685 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 ...
0
votes
0answers
173 views

Installed minimal lxde having problem with software doesnt get added the gksu

Hello im having problem with my minimal installation of lxde sofware like synaptic doesnt get the gksu added automaticly infront of its exec=synaptic, and some other software like update-manager ...
2
votes
1answer
67 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
51 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 ...
0
votes
0answers
122 views

Cygwin ssh X forwarding - “The system network services are not compatible with this version.”

I connect to Ubuntu system from windows system using Cygwin and putty with X forwarding. When I try to change Network settings in unity-control-center I get "The system network services are not ...
0
votes
0answers
122 views

How to allow non-admin users to format and repartition USB drives?

I'm using Ubuntu on a work environment with several users. From time to time, as the administrator, I'm asked to repartition or format a pendrive, because Ubuntu won't allow the normal users to do so. ...
3
votes
1answer
2k 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
1k 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 ...
12
votes
7answers
12k 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
190 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
738 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
556 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
517 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
2k 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
47 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?
1
vote
3answers
2k 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
70 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
665 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
1k 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 ...
5
votes
2answers
4k 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
379 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 ...
3
votes
2answers
543 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
445 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
3k 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
304 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 ...
3
votes
1answer
621 views

polkit: disable all users except those in group wheel?

Is it possible to do the following using 1 polkit .pkla file? Disable all users except those in the wheel group from using polkit. The users in the wheel group will need to provide the root password ...
4
votes
3answers
4k views

pkexec won't launch polkit GUI in Lubuntu / LXDE

I performed a fresh install of Lubuntu 12.04 with minimal desktop, as described here. To clarify, I did a command-line install from the Lubuntu alternative install disc, then I did an apt-get install ...
7
votes
1answer
1k views

Root tasks using dbus and policykit

At some point my application needs to do administrative tasks like creating a file in /etc or running commands with root priveleges. I know just could do a Q&D: os.popen("pkexec foo bar") But ...
0
votes
1answer
2k views

How can I authenticate Ubuntu Software Center with user password?

I would like to be able to use the password associated with this account to install packages with the GUI. Ideally, I would change the settings so that any user with sudo permissions could install ...
1
vote
0answers
3k views

How do I make the PolicyKit authentication agent window not dissapear when I enter faulty password in Gnome-Shell Ubuntu 12.04?

In Unity, whenever authentication is required and when the PolicyKit authentication agent window is presented, it stays there even after I would enter a faulty password. But under Gnome Shell, ...
2
votes
3answers
6k views

Disable suspend / hibernate via the policykit

I am trying to run Lubuntu 12.04, but if the computer suspends I am unable to bootup again. Instead I see the bios post, the hard disk light flickers once and I have to install again (I have tried to ...
17
votes
1answer
1k views

What is the most “Ubuntu” way of preventing certain users from shutting down, suspending etc?

On a traditional Unix system, non-root users cannot do this. What is it that gives users this ability in modern desktop environments and how would I go about disabling this on a per-user or per-group ...