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

learn more… | top users | synonyms

1
vote
0answers
18 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
30 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
69 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
36 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
38 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
58 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
35 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
38 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
101 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 ...
2
votes
2answers
267 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
82 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
53 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
34 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
89 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
81 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. ...
0
votes
0answers
306 views

Add all new users and guest user to a group dynamically on ubuntu 14.04

I would like to add all the users (current, new, guest) to a particular group, lets say "audio" dynamically. Can you tell me how I can accomplish this ?
2
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 ...
9
votes
7answers
10k 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
0answers
95 views

Why doesn't my PolicyKit localauthority file allow me to use cpufreq-set?

I'm trying to configure Xubuntu 13.10 (saucy) in such a way that I can change the CPU governor and maximum frequency (using cpufreq-set) without sudo. I created an ...
0
votes
1answer
128 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
0answers
549 views

Session/NetworkManager problem after upgrade

tl;dr The errors are definitely DBUS security related and related to the active session but beyond that I'm a bit stuck. Is there a bridge package I need to register logins with loginctl? (I have ...
0
votes
2answers
572 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
508 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 ...
1
vote
0answers
573 views

How do I migrate local user account to use ActiveDirectory account?

I have been using my local user account on Kubuntu 12.04 machine for a while (half a year). So I customized my desktop/shortcuts/aliases/GUIs... to well suit my needs. Now I need to join my computer ...
2
votes
2answers
483 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
44 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
68 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
540 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
3k 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
343 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
433 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
420 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
2k 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
272 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
517 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
2answers
3k views

Synaptic won't launch from menu in panel in fresh Lubuntu minimal desktop 12.04 install

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
894 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
5k 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 ...
3
votes
0answers
328 views

Define a Policykit action for Upstart

I'm trying to get some user to start, stop and reload services by using the udev Upstart interface. I'm using Ubuntu 10.04. I created the file ...
4
votes
1answer
292 views

How can I get Policykit-1-KDE to preselect the current user?

On my new Kubuntu 11.10 system, there are two users with administrative rights (paulo and administranto). Whenever I now from a KDE GUI dialog do some action which needs administrative rights, I get a ...