<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=1142&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Sudo does not work on shells only on guis [SOLVED]]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=1142</link>
		<description><![CDATA[The most recent posts in Sudo does not work on shells only on guis [SOLVED].]]></description>
		<lastBuildDate>Mon, 17 Jul 2017 06:42:49 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Sudo does not work on shells only on guis [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=3396#p3396</link>
			<description><![CDATA[<p>I am pretty confident my choice would have been the first, but I have made mistakes in the past.<br />The odd thing is that however I managed to get the user in the sudo group it worked for guis requiring sudo but it would not work within a shell.&#160; I could run synaptic which in lxde requites root priviledges to even browse or update, or mount media from the fm, but $ sudo nano ...file.&#160; was refused.</p>]]></description>
			<author><![CDATA[dummy@example.com (fungus)]]></author>
			<pubDate>Mon, 17 Jul 2017 06:42:49 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=3396#p3396</guid>
		</item>
		<item>
			<title><![CDATA[Re: Sudo does not work on shells only on guis [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=3387#p3387</link>
			<description><![CDATA[<p>There are three choices for the sudo settings:<br />&#160; - Permit sudo adds the user to the sudo group.<br />&#160; - Sudo as default does the above, plus edits two files. *<br />&#160; &#160; &#160; &#160; In ~/.gconf/apps/gksu/%gconf.xml sudo_mode gets set to true<br />&#160; &#160; &#160; &#160; In ~/.su-to-rootrc&#160; &quot;su&quot; gets changed to &quot;sudo&quot;<br />&#160; - Sudo only for shutdown adds /etc/sudoers.d/user_shutdown. This is the default setting.</p><p>In all cases, if there is a root account, it is not disabled.</p><p>*Edit: more than two files. It also looks for kdesurc/tdesurc for KDE or TDE desktops.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sun, 16 Jul 2017 23:26:02 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=3387#p3387</guid>
		</item>
		<item>
			<title><![CDATA[Re: Sudo does not work on shells only on guis [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=3371#p3371</link>
			<description><![CDATA[<p>My first install run into problems and I did it a second time.&#160; Since I was more comfortable with it I may have overlooked it, although I wouldn&#039;t have done it consciously.&#160; So the answer is I am not sure, but since others don&#039;t have the same problem it seems likely.&#160; Were there two options or more, and is this the default?&#160; I may have interpret it wrong thinking that it would be a single user no root that is always sudo and I wouldn&#039;t want this.</p>]]></description>
			<author><![CDATA[dummy@example.com (fungus)]]></author>
			<pubDate>Sun, 16 Jul 2017 10:37:32 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=3371#p3371</guid>
		</item>
		<item>
			<title><![CDATA[Re: Sudo does not work on shells only on guis [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=3369#p3369</link>
			<description><![CDATA[<p>1. Yes, there should be a %sudo line in /etc/sudoers. Mine looks like this: </p><div class="codebox"><pre><code># Allow members of group sudo to execute any command
%sudo	ALL=(ALL:ALL) ALL</code></pre></div><p>2. You must have installed from one of the live isos and chosen &quot;use sudo only for shutdown&quot; instead of &quot;use sudo as default&quot;.</p><p>If those are not both true, then something is wrong or I&#039;m wrong about the situation.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sun, 16 Jul 2017 10:03:21 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=3369#p3369</guid>
		</item>
		<item>
			<title><![CDATA[Re: Sudo does not work on shells only on guis [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=3368#p3368</link>
			<description><![CDATA[<p>Ok, 2 things I found that corrected the situation.</p><p>1 (Possible bug-fix)&#160; On file /etc/sudoers which we are not allowed to touch, should there be a % sudo&#160; instead of plain sudo?&#160; It worked for me as that is how it was in D***an (systemd) <br />2&#160; The file in /etc/sudoers.d/shutdown can be eliminated or a # should go on the first line.</p><p>This procedure definetely fixededit in my LXDE amd64</p><p>Please review if there is a problem doing this, or if it is really a bug it can be fixed.</p>]]></description>
			<author><![CDATA[dummy@example.com (fungus)]]></author>
			<pubDate>Sun, 16 Jul 2017 08:13:38 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=3368#p3368</guid>
		</item>
		<item>
			<title><![CDATA[Sudo does not work on shells only on guis [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=3349#p3349</link>
			<description><![CDATA[<p>I have installed lxde and anything that runs as a gui when clicked (ie synaptic) asks for &quot;user&quot; pw and works.<br />Anything in a shell (I mostly use lxterminal) that I try with sudo results:</p><div class="codebox"><pre><code>Sorry, user xxxx is not allowed to execute &#039;/usr/bin/lxtask&#039; as root on mabox</code></pre></div><p>Either through the lxde gui for users and groups or checking sudoers list the user is in sudo group and<br />other admin tasks.&#160; Can&#039;t figure it out and has never happened in other distros before.</p><p>su works well but I&#039;d rather not use root as I like to keep the history of commands as a user.<br />Xfce is still installed from the installation.&#160; Any chance there is a setting in xfce that overpowers<br />lxde settings?</p><p>PS&#160; I am running ascii on amd64</p>]]></description>
			<author><![CDATA[dummy@example.com (fungus)]]></author>
			<pubDate>Sat, 15 Jul 2017 19:45:32 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=3349#p3349</guid>
		</item>
	</channel>
</rss>
