<?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=5905&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] (username) is not in the sudoers file.]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=5905</link>
		<description><![CDATA[The most recent posts in [SOLVED] (username) is not in the sudoers file..]]></description>
		<lastBuildDate>Tue, 15 Oct 2024 10:39:54 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] (username) is not in the sudoers file.]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=52643#p52643</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>Gregors wrote:</cite><blockquote><div><p> ... do something only root can do I use &quot;su -&quot; ...</p></div></blockquote></div><p>That is quite correct.</p><p>But sudo does have a great many <span class="bbu">proper use</span> scenarios.<br />eg: every time I want to have a look at what <span class="bbc">dmesg</span> is printing out or run <span class="bbc">updatedb</span>.</p><p>Here are a couple of snippets from an article by one of the admins in the PCLinuxOS Magazine back in 2012:</p><div class="quotebox"><cite>Old-Polack wrote:</cite><blockquote><div><p>Sudo is just another Linux tool, but one that when abused, can drastically impair the security of one’s system. </p><p>... proper use of sudo as a <span class="bbu">limiting</span> resource, when root privileges are needed for a specific repeatable purpose, such as when needed for the proper functioning of an application, within a script, or when a specific user on a multi user system is assigned limited administrative duties, but is not allowed access to the root password or full root privileges. This is the purpose for which sudo was intended.</p><p>... care should be taken to limit a user’s entry in /etc/sudoers to the <span class="bbu">absolute minimum</span> of specific commands needed to perform the task at hand.</p></div></blockquote></div><p>* undelining is mine.</p><p>I&#039;d say that allowing members of <span class="bbc">group sudo</span> to execute <span class="bbu">any</span> command is a huge risk.<br />Not a convenience.</p><p>Of course and as always, YMMV.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Tue, 15 Oct 2024 10:39:54 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=52643#p52643</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] (username) is not in the sudoers file.]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=52641#p52641</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>&gt; press the [arrow-down] button<br />&#160; &#160; &gt; go to section &quot;# User privilege specification&quot;<br />&#160; &#160; &gt; add a line beneath &quot;root...ALL&quot;: &quot;{YourUserName} ALL=(ALL:ALL) ALL&quot;, e.g.:</p></div></blockquote></div><p>@odie2 that is incorrect advice. sudoers file already has an entry for sudo privileges for all members of <strong>sudo group</strong>. If you want to use sudo, add your user to <strong>sudo group</strong>, as mentioned few weeks ago by @stopAI. No need to modify sudoers file.</p>]]></description>
			<author><![CDATA[dummy@example.com (VPigEePMUn7X)]]></author>
			<pubDate>Mon, 14 Oct 2024 23:55:28 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=52641#p52641</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] (username) is not in the sudoers file.]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=52635#p52635</link>
			<description><![CDATA[<p>Debian also returns &quot;YourUserName is not in the sudoers file&quot;, when issuing the sudo command. <br />To add YourUserName to /[etc/sudoers] perform the following actions:</p><p>&gt; open Terminal<br />&#160; &#160; </p><div class="codebox"><pre><code>su - root</code></pre></div><p>&#160; &#160; &gt; type the password of the root account<br />&#160; &#160; </p><div class="codebox"><pre><code>visudo</code></pre></div><p>&#160; &#160; &gt; press the [arrow-down] button<br />&#160; &#160; &gt; go to section &quot;# User privilege specification&quot;<br />&#160; &#160; &gt; add a line beneath &quot;root...ALL&quot;: &quot;{YourUserName} ALL=(ALL:ALL) ALL&quot;, e.g.:<br />&#160; &#160; </p><div class="codebox"><pre><code>obi7kenobi ALL=(ALL:ALL) ALL</code></pre></div><p>&#160; &#160; &gt; press [ctrl]+[O] (write out)</p><p>&#160; &#160; message: &quot;file name to write: /etc/sudoers.tmp&quot;<br />&#160; &#160; This file name is OK. The actual file is [/etc/sudoers].</p><p>&#160; &#160; &gt; press &lt;enter&gt; <br />&#160; &#160; &gt; press [ctrl+[X] to exit the editing mode</p>]]></description>
			<author><![CDATA[dummy@example.com (odie2)]]></author>
			<pubDate>Sun, 13 Oct 2024 09:56:54 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=52635#p52635</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] (username) is not in the sudoers file.]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=43731#p43731</link>
			<description><![CDATA[<p>Thanks a ton, I managed to add myself into sudo. Marking as solved.</p>]]></description>
			<author><![CDATA[dummy@example.com (evilpistachio)]]></author>
			<pubDate>Thu, 24 Aug 2023 08:51:00 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=43731#p43731</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] (username) is not in the sudoers file.]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=43721#p43721</link>
			<description><![CDATA[<div class="quotebox"><cite>evilpistachio wrote:</cite><blockquote><div><p>adduser command doesn&#039;t exist.</p></div></blockquote></div><p>Devuan inherits the shadow -&gt; util-linux change to su behavior from upstream Debian as mentioned <a href="https://wiki.debian.org/NewInBuster" rel="nofollow">here</a>, and the same solutions apply.</p>]]></description>
			<author><![CDATA[dummy@example.com (steve_v)]]></author>
			<pubDate>Wed, 23 Aug 2023 19:33:40 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=43721#p43721</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] (username) is not in the sudoers file.]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=43717#p43717</link>
			<description><![CDATA[<p>Thanks for the advice! I managed to find how to get access to root online but when I tried</p><div class="codebox"><pre><code># adduser foo sudo</code></pre></div><p>it said that adduser command doesn&#039;t exist.</p><p>Thanks for the advice never the less!</p>]]></description>
			<author><![CDATA[dummy@example.com (evilpistachio)]]></author>
			<pubDate>Wed, 23 Aug 2023 18:54:19 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=43717#p43717</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] (username) is not in the sudoers file.]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=43711#p43711</link>
			<description><![CDATA[<p>Hello.</p><p>Once logged in as a user, you can verify whether or not the user belongs to group=sudo using either the id or groups commands. E.g., a user with id=foo should see output from </p><div class="codebox"><pre><code>$ groups</code></pre></div><p>like </p><div class="codebox"><pre><code>foo sudo</code></pre></div><p>If sudo is not present in the output, the user does not belong to that group.</p><p>To add an existing user with id=foo to group=sudo:</p><p>get root and then run the command:</p><div class="codebox"><pre><code># adduser foo sudo</code></pre></div><p>After being added to a new group the user must log out and then log back in again for the new group to take effect.</p>]]></description>
			<author><![CDATA[dummy@example.com (stopAI)]]></author>
			<pubDate>Wed, 23 Aug 2023 16:01:09 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=43711#p43711</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] (username) is not in the sudoers file.]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=43710#p43710</link>
			<description><![CDATA[<p>I don&#039;t use sudo. If I have to do something only root can do I use &quot;su -&quot;,</p><p>HTH</p><p>Gregor</p>]]></description>
			<author><![CDATA[dummy@example.com (Gregors)]]></author>
			<pubDate>Wed, 23 Aug 2023 15:54:37 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=43710#p43710</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] (username) is not in the sudoers file.]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=43706#p43706</link>
			<description><![CDATA[<p>Hello this is my first time using a linux distro and I tried installing tor browerser but it says that my only username on this installation is not in the sudoers file which probably means I can&#039;t execute sudo commands.</p><p>My question is how do I enable myself to use them? Thank you in advance.</p>]]></description>
			<author><![CDATA[dummy@example.com (evilpistachio)]]></author>
			<pubDate>Wed, 23 Aug 2023 14:29:01 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=43706#p43706</guid>
		</item>
	</channel>
</rss>
