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

learn more… | top users | synonyms

1
vote
1answer
24 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
71 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 ...
0
votes
0answers
60 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
61 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
319 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
214 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
248 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
391 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
442 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 ...
0
votes
0answers
88 views

ldap users having problems in GUI

I have some LDAP users that can login to a Ubuntu 13.04 desktop, but can't open some apps (like Terminal) or logout. The syslog gets a lot of rtkit-daemon: PolicyKit failed errors. Can I completely ...
2
votes
0answers
898 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 ...
0
votes
0answers
73 views

Do ConsoleKit respect policies in PolicyKit?

Reading at question How can I make shutdown not require admin password?, and in particular Epeli's answer, I see a problem. The unprivileged user can always shutdown/restart the computer, regardless ...
2
votes
0answers
33 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
813 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
32 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
64 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
337 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
630 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
2k 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
274 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
269 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
377 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 ...
3
votes
1answer
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
207 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
376 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
2k 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
719 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 ...
0
votes
0answers
2k 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
822 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
302 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 ...
3
votes
1answer
265 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 ...
12
votes
2answers
7k views

How do I prevent PolicyKit from asking for a password?

For years, I've had the following in my sudoers file: scott ALL=NOPASSWD: ALL For those who don't know, this prevents sudo and friends (gksudo, etc.) from asking for a password. However, over the ...
38
votes
3answers
6k views

When to use pkexec vs. gksu/gksudo?

There are two general ways to run applications graphically as root (or, more generally, as another user). Programs like gksu, gksudo, and kdesudo are graphical frontends for sudo. In contrast, pkexec ...
0
votes
2answers
3k views

What to do when it says “unable to locate package” policykit

I'm following a tutorial that says I need to run sudo apt-get update and then install a whole bunch of packages. All of them work, except policykit. It gives me Unable to locate package policykit. Is ...
2
votes
1answer
3k views

Policykit is not initialised in custom xsession launched via LightDM

I'm running a fully updated Ubuntu 11.10 install and I've been using LightDM to launch a "User Defined Session" which executes the .xsession script in my home folder. The script that I have written ...
6
votes
1answer
3k views

How to either configure, or completely remove policykit? [closed]

Where can someone get policykit related tools? gnome-policykit-authorizations polkit-config-file-validate polkit-policy-file-validate And if getting them is not an option: Where can I get a full ...
6
votes
2answers
1k views

How to make the disk utility ask for password before making modifications?

Currently, I can right click any drive that is attached to the system and click format. No password is asked at all while the data is wiped. I can also format any drive from the disk utility. This ...
3
votes
1answer
2k views

How to prevent Synaptic Package Manager from asking for password?

This is similar to How to prevent system applications (like the Software Center) from asking for password? However that solution does not work for Synaptic Package Manager in 10.04.
4
votes
1answer
1k views

Software Center doesn't prompt for password

I'm using Ubuntu 10.10. The software center was asking me for password when I wanted to install/remove any application. Since last week, it doesn't prompt for password. Also, I have the same problem ...
10
votes
3answers
4k views

How to prevent system applications (like the Software Center) from asking for password?

I'd like Software Center, Update Manager and some other system management applications to work without asking for password (like sudo does if configured with NOPASSWD) but only asking for a ...
3
votes
1answer
283 views

How do I rip CDs with Sound Juicer over X11 forwarding?

I am trying to rip a CD with Sound Juicer over X11 forwarding (CD is in the desktop across the room, I'm SSHing in from my laptop), but Sound Juicer cannot find my CD drive. It works correctly when I ...
3
votes
1answer
241 views

How can I let users in a particular group adjust CPU Frequency Scaling?

I'm trying to let members of the group labmembers adjust the CPU frequency scaling on a system using cpufreq-selector. However, by default, this is restricted to members of the admin group. Per this ...
30
votes
4answers
6k views

How can I set the Software Center to install software for non-root users?

How can I set the Software Center to allow non-root users to install stuff from the Ubuntu repos without having to type in their password? I'm fully aware of the security implications, and I am ...