The policykit tag has no wiki summary.
0
votes
0answers
60 views
Cannot run any pkexec-based applications in Gnome 3 (synaptic, gparted, …) [closed]
I'm using a fresh install of 13.04 Ubuntu Gnome with gnome shell 3.6 and I have a peculiar problem with programs that need pkexec to run, like gparted or synaptic. When I try to run them via the menu ...
0
votes
1answer
80 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
137 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 ...
0
votes
0answers
88 views
How do I call policykit instead of gksu? [closed]
PCManFM has a preference called “Switch user command” that the program uses to reopen itself as root. By default, the content of the preference is “gksu %s”. The thing is, I want to use PolicyKit ...
2
votes
2answers
238 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
117 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 ...
2
votes
2answers
117 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 ...
0
votes
0answers
148 views
Network Manager save option greyed out. Cannot edit org.freedesktop.NetworkManager.policy
Just installed Ubuntu on my laptop I'm a brand new user that doesn't really know the first thing about Ubuntu/linux so bear with me.
I use a Static IP and I've been trying to input it into the ...
1
vote
1answer
298 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 ...
2
votes
1answer
119 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
188 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 ...
1
vote
0answers
128 views
Using pkexec policy to run out of /opt/
I still try to make it possible to run my app with root priveleges. Therefore I created two policies to run the application via pkexec (one for /usr/bin and one for /opt/extras... ) and added them to ...
2
votes
1answer
1k 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
347 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
843 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
1k 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
2answers
3k 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
564 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 ...
2
votes
0answers
262 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
192 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 ...
6
votes
2answers
4k 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 ...
24
votes
3answers
3k 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
2k 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
2k 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 ...
0
votes
0answers
1k views
PolicyKit - network manager - insufficient privileges [closed]
Since my upgrade on 11.10-beta1, I cannot edit my VPN-settings anymore. Under nm-applet => VPN the edit-button is greyed out. Unter the settings => network => vpn => configure, I get the error message ...
6
votes
1answer
2k 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
904 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
1k 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 ...
9
votes
2answers
3k 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
237 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
196 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 ...
25
votes
4answers
4k 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 am willing ...
