<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=1548&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] pkexec authenticates without password]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=1548</link>
		<description><![CDATA[The most recent posts in [SOLVED] pkexec authenticates without password.]]></description>
		<lastBuildDate>Wed, 06 Feb 2019 18:50:16 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] pkexec authenticates without password]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=14075#p14075</link>
			<description><![CDATA[<p>Turns out there are some files created by live-config that get in the way. I will add them to the installer&#039;s exclude list.</p><div class="codebox"><pre><code>- /etc/PolicyKit/PolicyKit.conf
- /var/lib/polkit-1/localauthority/10-vendor.d/10-live-cd.pkla
- /home/*/.su-to-rootrc
- /home/*/.*/share/config/kdesurc
- /home/*/.*/share/config/tdesurc</code></pre></div><p>(Note: the last three also need to be added to home_boot_exlclude.list)</p><p>...and make sure policykit-1-gnome is installed.</p><p>Edit: added files specific to kde or tde.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Wed, 06 Feb 2019 18:50:16 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=14075#p14075</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] pkexec authenticates without password]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=4906#p4906</link>
			<description><![CDATA[<p>Food for reading, man polkit &amp; pkexec.&#160; &#160; &#160; Late in the party.&#160; &#160; Checked my ascii &amp; ceres systems with DE&#039;s. Removed policykit-1-gnome &amp; install lxpolkit ( ascii with lxde &amp; xfce4). gparted &amp; synaptic can&#039;t be launced from menu, but from terminal. In terminal it uses no graphical authentication. Same for mate-polkit (ceres with mate). In both system reinstalled policykit-1-gnome &amp; reboot. Graphical authentication is back for both programs and also for mounting devices from file managers. &#039;pkexec&#039; is provided by synaptic &amp; gparted.&#039;gksu&#039; is maual install. Authentication via pkexec routed through &#039;polkit-agent-helper-1&#039; which is provided by DE&#039;s. Without DM probably you need policykit-1. Different DE&#039;s have their own implementation. Should DM&#039;s &amp; xorg run by users?</p><p>cheers,</p>]]></description>
			<author><![CDATA[dummy@example.com (gnath)]]></author>
			<pubDate>Mon, 04 Sep 2017 17:57:18 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=4906#p4906</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] pkexec authenticates without password]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=4874#p4874</link>
			<description><![CDATA[<p>I have a suspicion that systemd was providing some intermediary service to many desktop devs.&#160; They universalized some instruction so systemd would know what you want to do and it would feed it to the appropriate daemon/service to carry out the simple task.&#160; Desktop devs concentrating in serving the giant distros couldn&#039;t care less about the non-systemd systems.&#160; New systems haven&#039;t gotten around to it yet in translating non-sense to sensical instructions.<br />So you end up downloading a desktop whose functions are systemd oriented and just do a silent blip when things don&#039;t work out.&#160; When you try the actual instruction in terminal at least you know why the desktop is not doing anything.&#160; Sudo synaptic has always worked for me when all else failed.<br />Oblogout when you install it in ascii semi works, but for each subcommand you have to test it in terminal and edit the appropriate .conf file.&#160; For lxpanel there is a conf file that has all the systemd commands for shutdown/reboot etc, you have to transform them to oblogout instructions, and edit the oblogout.conf itself to get it to function correctly.&#160; Pain in the neck.</p><p>The more I try to make things work the more sense Steve Litt&#039;s article makes <a href="https://sysdfree.wordpress.com/112/" rel="nofollow">https://sysdfree.wordpress.com/112/</a></p>]]></description>
			<author><![CDATA[dummy@example.com (fungus)]]></author>
			<pubDate>Thu, 31 Aug 2017 17:11:05 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=4874#p4874</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] pkexec authenticates without password]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=4873#p4873</link>
			<description><![CDATA[<p>Well, did a little reading on &quot;so many policykits&quot;<br />I learned that program starting is a 2 step process (at least)&#160; - very simplified<br />step 1 -PAM <em>(/etc/pam.d)</em>&#160; <span class="bbu">Authenticates</span>&#160; who you are<br />step 2 -Polkit - <span class="bbu">Authorizes</span> what you can do/run&#160; &#160;- based upon being &#039;Authenticated&#039;<br />&#039;<br />I didn&#039;t get an answer as to why so many &quot;polkits&quot;&#160; -- unless they are a wrapper for<br />the official Polkit&#160; --[ie creates the&#160; PAM files and policy files for their respective programs<br />&#160; &#160; &#160; mate menu items&#160; &#160;/&#160; &#160;lxde menu items&#160; &#160;/&#160; gnome base structure&#160; /&#160; etc.<br />&#039;<br />just posted this as a<strong>FWIW</strong> - shed some possible light on the variations that @fsmithred encountered</p>]]></description>
			<author><![CDATA[dummy@example.com (garyz.dev1)]]></author>
			<pubDate>Thu, 31 Aug 2017 16:16:00 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=4873#p4873</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] pkexec authenticates without password]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=4766#p4766</link>
			<description><![CDATA[<p>In the upgraded Refracta:<br />Tried replacing mate-polkit with lxpolkit. Didn&#039;t help. Tried adding policykit-1-gnome (with each of the other polkits) didn&#039;t help.</p><p>In the upgraded Devuan:<br />Tried adding policykit-1-gnome first, and now gparted and synaptic don&#039;t start. Tried from the menu and from the terminal with pkexec.</p><p>However, I can do &#039;pkexec /usr/sbin/adduser buford&#039; and it works. Had to use the full path with adduser.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sun, 27 Aug 2017 23:52:32 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=4766#p4766</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] pkexec authenticates without password]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=4761#p4761</link>
			<description><![CDATA[<p>Using xfce here. This was an install from the desktop-live iso. It&#039;s actually a mixed ascii/ceres now. I tested it first in pure ascii, then added ceres and did a dist-upgrade without removing the ascii sources. I had no problems during the upgrade. And pkexec acts the same in both.</p><p>I did notice in another installation that lxqt did it right. I guess the lx teams know what they&#039;re doing.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sun, 27 Aug 2017 16:11:30 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=4761#p4761</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] pkexec authenticates without password]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=4760#p4760</link>
			<description><![CDATA[<p>I found that lxpolikit fixes alot of issues back and forth, too many rights and too little rights.&#160; Polkit just doesn&#039;t work right on openbox/lxde.&#160; Now if you like me and a few others are running openbox without the complete lxde installation try it.&#160; You may have to put it manually into openbox/autostart</p>]]></description>
			<author><![CDATA[dummy@example.com (fungus)]]></author>
			<pubDate>Sun, 27 Aug 2017 15:41:34 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=4760#p4760</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] pkexec authenticates without password]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=4759#p4759</link>
			<description><![CDATA[<p>Same behavior in a devuan jessie that got upgraded to ascii, and then again when upgraded to ceres. </p><p>pkexec allows primary user to install and remove software (didn&#039;t test gparted this time)<br />It does not allow primary user to create a new user, and it does not let the second user install software.</p><p>I will get around to filing a bug report.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sun, 27 Aug 2017 15:15:05 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=4759#p4759</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] pkexec authenticates without password]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=4577#p4577</link>
			<description><![CDATA[<p>Why don&#039;t you start with one desktop and then expand incrementally instead of throwing a smorgasbord at it.</p>]]></description>
			<author><![CDATA[dummy@example.com (golinux)]]></author>
			<pubDate>Sat, 19 Aug 2017 01:36:34 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=4577#p4577</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] pkexec authenticates without password]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=4575#p4575</link>
			<description><![CDATA[<p>For the record - this is on a refracta-jessie that was upgraded to ascii. So I started with xfce. It also has icewm and openbox, and I use lxpanel and lxterminal with ob. But I don&#039;t have the full lxde destkop. I&#039;ve also had other weird stuff with this installation. Today I had to add net.ifnames=0 to the boot command a couple of times to have network connection. Normally I don&#039;t need to do that with this install, even though it&#039;s using 4.9 kernel.</p><p>Tested another install on the same machine. This one started as a minimal install, upgraded to ascii, then added apps. In xfce and openbox, gparted won&#039;t start from the menu, but if I start gparted-pkexec in terminal, it asks for password. This install also has lxqt, and there, I get a graphical window asking for the root password like it should. (lxqt-policykit-agent runs)</p><p>I seem to be the only one with this problem (the one in the subject line) so I won&#039;t file a bug report on it. At some point I&#039;ll do another refracta jessie to ascii upgrade and watch what happens. The current one has been through a lot to get where it is.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sat, 19 Aug 2017 01:19:47 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=4575#p4575</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] pkexec authenticates without password]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=4565#p4565</link>
			<description><![CDATA[<div class="quotebox"><cite>fungus wrote:</cite><blockquote><div><p>Take a look at&#160; the thread&#160; I just oppened up. <a href="http://dev1galaxy.org/viewtopic.php?id=1555" rel="nofollow">http://dev1galaxy.org/viewtopic.php?id=1555</a></p><p>Both I and fsmithred are running LXDE (if I am not mistaken as mentioned in another thread).<br />I have also installed eudev in all my installations.<br />My ascii is an evolution from previous edition of miyo linux.<br />My ceres is from scratch installation from Devuan 1 Live.<br />All LXDE.<br />All LXDE for years if you include Debian as &quot;somehow&quot; related distro.<br />NOT ONCE, have I run gparted without a password, unless one would consider running from the terminal where sudo was used right before and the session didn&#039;t expire.&#160; But gparted-pkexec is different from sudo gparted-pkexec in when it will ask for the password.</p><p>So what can explain the difference between my and fsmithred&#039;s experience</p></div></blockquote></div><p>It&#039;s a mystery wrapped in an enigma. Or is it the other way around? :-)</p><p>BTW, I am running eudev as well, and everything seems to be nominal.</p><p>I will check out your new thread...</p>]]></description>
			<author><![CDATA[dummy@example.com (sgage)]]></author>
			<pubDate>Fri, 18 Aug 2017 23:15:47 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=4565#p4565</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] pkexec authenticates without password]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=4562#p4562</link>
			<description><![CDATA[<p>Take a look at&#160; the thread&#160; I just oppened up. <a href="http://dev1galaxy.org/viewtopic.php?id=1555" rel="nofollow">http://dev1galaxy.org/viewtopic.php?id=1555</a></p><p>Both I and fsmithred are running LXDE (if I am not mistaken as mentioned in another thread).<br />I have also installed eudev in all my installations.<br />My ascii is an evolution from previous edition of miyo linux.<br />My ceres is from scratch installation from Devuan 1 Live.<br />All LXDE.<br />All LXDE for years if you include Debian as &quot;somehow&quot; related distro.<br />NOT ONCE, have I run gparted without a password, unless one would consider running from the terminal where sudo was used right before and the session didn&#039;t expire.&#160; But gparted-pkexec is different from sudo gparted-pkexec in when it will ask for the password.</p><p>So what can explain the difference between my and fsmithred&#039;s experience</p>]]></description>
			<author><![CDATA[dummy@example.com (fungus)]]></author>
			<pubDate>Fri, 18 Aug 2017 23:04:59 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=4562#p4562</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] pkexec authenticates without password]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=4557#p4557</link>
			<description><![CDATA[<p>Just for the record... I am running Ascii (ugpraded from stock Devuan Jessie months ago), and have no such issue with pkexec.</p><p>[Edited to mention that I&#039;m running with MATE.]</p>]]></description>
			<author><![CDATA[dummy@example.com (sgage)]]></author>
			<pubDate>Fri, 18 Aug 2017 21:48:34 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=4557#p4557</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] pkexec authenticates without password]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=4556#p4556</link>
			<description><![CDATA[<p>Not for nothin&#039;, but have you checked /etc/sudoers.d to make sure there&#039;s not an entry left from a livecd session that didn&#039;t get removed?</p><p>Because that will do exactly what you are describing.</p>]]></description>
			<author><![CDATA[dummy@example.com (greenjeans)]]></author>
			<pubDate>Fri, 18 Aug 2017 21:46:29 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=4556#p4556</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] pkexec authenticates without password]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=4538#p4538</link>
			<description><![CDATA[<p>nathg,</p><p>Thanks for the reminder. I tried replacing mate-polkit with policykit-1-gnome and I get the same behavior. (gparted runs without password). </p><p>I tried running without a display manager, and I&#039;m getting inconsistent results. Sometimes I can break it so gparted doesn&#039;t run (in terminal it gives me an error message about trying to run it as another user and I don&#039;t have permission) and sometimes it does run. And sometimes I end up with no input in console and have to use sysrq keys to reboot.</p><p>So far, I have not found the right combination to cause pkexec to ask me for a password. At least not today. I have been asked for a password in terminal a couple days ago.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Fri, 18 Aug 2017 12:51:33 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=4538#p4538</guid>
		</item>
	</channel>
</rss>
