<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Debian - Add user to sudoers (Fix error: User is not in the sudoers file) - Linux Software				            </title>
            <link>https://www.tweaking4all.com/forum/linux-software/debian-add-user-to-sudoers-fix-error-user-is-not-in-the-sudoers-file/</link>
            <description>Tweaking4All.com Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Wed, 17 Jun 2026 03:21:40 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>Debian - Add user to sudoers (Fix error: User is not in the sudoers file)</title>
                        <link>https://www.tweaking4all.com/forum/linux-software/debian-add-user-to-sudoers-fix-error-user-is-not-in-the-sudoers-file/#post-4633</link>
                        <pubDate>Sun, 29 Jan 2023 12:48:46 +0000</pubDate>
                        <description><![CDATA[Tried this with Debian 11 and this was the easiest way to get it done.
1. Open a terminal and start with &quot;su&quot; (password will be asked)
su
2. Next open &quot;/etc/sudoers&quot; so we can edit it
na...]]></description>
                        <content:encoded><![CDATA[<p>Tried this with Debian 11 and this was the easiest way to get it done.</p>
<p>1. Open a terminal and start with "su" (password will be asked)</p>
<pre contenteditable="false">su</pre>
<p>2. Next open "<strong>/etc/sudoers</strong>" so we can edit it</p>
<pre contenteditable="false">nano /etc/sudoers</pre>
<p>3. Add the user you want to give sudo privileges (where "hans" is the username - I placed it right under the same formatted line for the root user)</p>
<pre contenteditable="false">hans    ALL=(ALL:ALL) ALL</pre>
<p>4. Save and close (CTRL+X, confirm by pressing "Y").</p>
<p>You should be good to go now.</p>
<p>Test this with for example:</p>
<pre contenteditable="false">sudo ls</pre>]]></content:encoded>
						                            <category domain="https://www.tweaking4all.com/forum/linux-software/">Linux Software</category>                        <dc:creator>Hans</dc:creator>
                        <guid isPermaLink="true">https://www.tweaking4all.com/forum/linux-software/debian-add-user-to-sudoers-fix-error-user-is-not-in-the-sudoers-file/#post-4633</guid>
                    </item>
							        </channel>
        </rss>
		