<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How to Create and Use Linux sudo Command	</title>
	<atom:link href="https://www.tecmint.com/sudo-command-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/sudo-command-linux/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Mon, 24 Jun 2024 04:42:03 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/sudo-command-linux/comment-page-1/#comment-2183605</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Mon, 24 Jun 2024 04:42:03 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=32159#comment-2183605</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/sudo-command-linux/comment-page-1/#comment-2182585&quot;&gt;Jorge&lt;/a&gt;.

@Jorge,

Thanks for the tip! I’ll start using `&lt;strong&gt;sudoedit&lt;/strong&gt;` for a more secure approach.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/sudo-command-linux/comment-page-1/#comment-2182585">Jorge</a>.</p>
<p>@Jorge,</p>
<p>Thanks for the tip! I’ll start using `<strong>sudoedit</strong>` for a more secure approach.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jorge		</title>
		<link>https://www.tecmint.com/sudo-command-linux/comment-page-1/#comment-2182585</link>

		<dc:creator><![CDATA[Jorge]]></dc:creator>
		<pubDate>Fri, 21 Jun 2024 04:54:24 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=32159#comment-2182585</guid>

					<description><![CDATA[Actually, the correct way to edit files with &lt;strong&gt;sudo&lt;/strong&gt; is the command `&lt;strong&gt;sudoedit file&lt;/strong&gt;` or `&lt;strong&gt;sudo -e file&lt;/strong&gt;`. It needs the &lt;strong&gt;EDITOR&lt;/strong&gt; environment variable to be set. 

It runs your favorite editor (&lt;strong&gt;nano&lt;/strong&gt;, &lt;strong&gt;kate&lt;/strong&gt;, &lt;strong&gt;neovim&lt;/strong&gt;, etc.) as an ordinary user but allows you to modify the root file in a secure way. 

When you use `&lt;strong&gt;sudo nano&lt;/strong&gt;`, you are running the editor as the root user, and that&#039;s not good at all.]]></description>
			<content:encoded><![CDATA[<p>Actually, the correct way to edit files with <strong>sudo</strong> is the command `<strong>sudoedit file</strong>` or `<strong>sudo -e file</strong>`. It needs the <strong>EDITOR</strong> environment variable to be set. </p>
<p>It runs your favorite editor (<strong>nano</strong>, <strong>kate</strong>, <strong>neovim</strong>, etc.) as an ordinary user but allows you to modify the root file in a secure way. </p>
<p>When you use `<strong>sudo nano</strong>`, you are running the editor as the root user, and that&#8217;s not good at all.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: dragonmouth		</title>
		<link>https://www.tecmint.com/sudo-command-linux/comment-page-1/#comment-2180367</link>

		<dc:creator><![CDATA[dragonmouth]]></dc:creator>
		<pubDate>Fri, 14 Jun 2024 12:15:44 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=32159#comment-2180367</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/sudo-command-linux/comment-page-1/#comment-2180261&quot;&gt;Ravi Saive&lt;/a&gt;.

Yes, I realize this but the install commands as given in the article will not work:
&lt;pre&gt;
sudo apt install sudo
&lt;/pre&gt;
will generate a sudoers file error. 

On the other hand, if you are using the root account to install sudo, the leading &#039;&lt;strong&gt;sudo&lt;/strong&gt;&#039; in the command will generate a &quot;&lt;strong&gt;sudo command not found&lt;/strong&gt;&quot; error.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/sudo-command-linux/comment-page-1/#comment-2180261">Ravi Saive</a>.</p>
<p>Yes, I realize this but the install commands as given in the article will not work:</p>
<pre>
sudo apt install sudo
</pre>
<p>will generate a sudoers file error. </p>
<p>On the other hand, if you are using the root account to install sudo, the leading &#8216;<strong>sudo</strong>&#8216; in the command will generate a &#8220;<strong>sudo command not found</strong>&#8221; error.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/sudo-command-linux/comment-page-1/#comment-2180261</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Fri, 14 Jun 2024 04:13:41 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=32159#comment-2180261</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/sudo-command-linux/comment-page-1/#comment-2180012&quot;&gt;dragonmpouth&lt;/a&gt;.

@dragonmouth,

If you do not have sudo pre-installed on your system, you can still manage to install it or add a user to the sudo group by logging in as the root user. 
&lt;pre&gt;
su -
apt-get update
apt-get install sudo
usermod -aG sudo username
sudo whoami
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/sudo-command-linux/comment-page-1/#comment-2180012">dragonmpouth</a>.</p>
<p>@dragonmouth,</p>
<p>If you do not have sudo pre-installed on your system, you can still manage to install it or add a user to the sudo group by logging in as the root user. </p>
<pre>
su -
apt-get update
apt-get install sudo
usermod -aG sudo username
sudo whoami
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: dragonmpouth		</title>
		<link>https://www.tecmint.com/sudo-command-linux/comment-page-1/#comment-2180012</link>

		<dc:creator><![CDATA[dragonmpouth]]></dc:creator>
		<pubDate>Thu, 13 Jun 2024 11:25:08 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=32159#comment-2180012</guid>

					<description><![CDATA[If you do not have &#039;sudo&#039; pre-installed on your system, how can you use it to install &#039;sudo&quot; or to add a user to the sudo group?]]></description>
			<content:encoded><![CDATA[<p>If you do not have &#8216;sudo&#8217; pre-installed on your system, how can you use it to install &#8216;sudo&#8221; or to add a user to the sudo group?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
