<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>wheel group - Techyaz.com</title>
	<atom:link href="https://techyaz.com/tag/wheel-group/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Tips, Tutorials and How-to Topics</description>
	<lastBuildDate>Mon, 14 May 2018 14:17:50 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.1</generator>

<image>
	<url>https://techyaz.com/wp-content/uploads/2017/11/cropped-Site-icon-150x150.png</url>
	<title>wheel group - Techyaz.com</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Fixing Error &#8220;User is not in the sudoers file. This incident will be reported.&#8221;</title>
		<link>https://techyaz.com/rhel/fixing-error-user-not-sudoers-file-incident-will-reported-red-hat-linux-server/</link>
					<comments>https://techyaz.com/rhel/fixing-error-user-not-sudoers-file-incident-will-reported-red-hat-linux-server/#comments</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Thu, 31 Aug 2017 09:11:51 +0000</pubDate>
				<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[logins]]></category>
		<category><![CDATA[red hat Linux]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[sudoers file]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wheel group]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=712</guid>

					<description><![CDATA[<p>I got this error during one of the activity when i was not able to perform it because my user was not part of sudoers file.  The error details were given as &#8220;User is not in the sudoers file. This&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/rhel/fixing-error-user-not-sudoers-file-incident-will-reported-red-hat-linux-server/">Fixing Error &#8220;User is not in the sudoers file. This incident will be reported.&#8221;</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I got this error during one of the activity when i was not able to perform it because my user was not part of sudoers file.  The error details were given as &#8220;<em>User is not in the sudoers file. This incident will be reported.</em>&#8221; If a user is not part of sudoers file then that user cannot perform anything using sudo command. Here i will explain how to fix this error or in other words you can say how to add a Linux user into sudoers file.</p>
<h3><span style="color: #000080;"><strong>Linux Error: User is not in the sudoers file. This incident will be reported.</strong></span></h3>
<p>Sudoers file determines which users can run administrative tasks, those requiring superuser privileges. I was failed to perform certain tasks because my username was not part of this file and returned with below error.</p>
<p><span class="kwrd" style="color: red;"><em>Linux Error: User is not in the sudoers file. This incident will be reported.</em><br />
</span></p>
<p><img decoding="async" class="aligncenter size-full wp-image-713" src="http://techyaz.com/wp-content/uploads/2017/08/1-1.jpg" alt="user name not in sudoers file" width="739" height="67" srcset="https://techyaz.com/wp-content/uploads/2017/08/1-1.jpg 739w, https://techyaz.com/wp-content/uploads/2017/08/1-1-300x27.jpg 300w" sizes="(max-width: 739px) 100vw, 739px" /></p>
<p>Someone who has super user (su) access can fix this issue by adding the impacted user to the <strong>Wheel group</strong>. The <strong>wheel group</strong> is a special user group used on Linux systems to control access to the sudo command, which allows a user to behave as super user. Once we will add our user into this group, we will be able to use sudo command.</p>
<h3><span style="color: #000080;"><strong>Adding a Linux User to Sudoers File</strong></span></h3>
<p>Connect to your Linux server using superuser account.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Connect using su</span>
su
</span></strong></pre>
<p><img decoding="async" class="aligncenter size-full wp-image-714" src="http://techyaz.com/wp-content/uploads/2017/08/2-login-using-su.jpg" alt="login using su account" width="461" height="64" srcset="https://techyaz.com/wp-content/uploads/2017/08/2-login-using-su.jpg 461w, https://techyaz.com/wp-content/uploads/2017/08/2-login-using-su-300x42.jpg 300w" sizes="(max-width: 461px) 100vw, 461px" /></p>
<p>We have now connected to Linux server using superuser account. Now we can add our username to the Wheel group.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Add your user to the Wheel group. 
#Change techyaz to your user name</span>.
usermod -G wheel techyaz
</span></strong></pre>
<p><img fetchpriority="high" decoding="async" class="aligncenter size-full wp-image-715" src="http://techyaz.com/wp-content/uploads/2017/08/3-add-wheel-group.jpg" alt="Add Username to wheel group" width="670" height="90" srcset="https://techyaz.com/wp-content/uploads/2017/08/3-add-wheel-group.jpg 670w, https://techyaz.com/wp-content/uploads/2017/08/3-add-wheel-group-300x40.jpg 300w" sizes="(max-width: 670px) 100vw, 670px" /></p>
<p>Now we see that command executed successfully. If you attempt to execute the sudo command now, you might get the same error message unless you completely logout your user and re-login again. Next you can exit from superuser account by typing exit on the prompt.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Exit su account</span>
exit
</span></strong></pre>
<p>Your account or user added to sudoers file now by adding it to wheel group. You can now connect to Linux server from your PuTTY terminal or on the local server and try to run sudo command post completely logout your user and re-login on the server.</p>
<pre class="brush: sql; title: ; notranslate" title=""><span class="kwrd" style="color: blue;"><strong><span style="color: #008000;">#Connect to Linux server using your user name that was added to wheel group.
#Run sudo su</span></strong>
<strong>sudo su
</strong></span></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-716" src="http://techyaz.com/wp-content/uploads/2017/08/4-validate.jpg" alt="validate the change" width="840" height="198" srcset="https://techyaz.com/wp-content/uploads/2017/08/4-validate.jpg 840w, https://techyaz.com/wp-content/uploads/2017/08/4-validate-300x71.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/4-validate-768x181.jpg 768w" sizes="auto, (max-width: 840px) 100vw, 840px" /></p>
<p>You can see we have access to run anything using sudo command in above screenshot. Now your username is part of sudoers file so you can perform your activities using sudo command now.</p>
<p><em><span style="color: #800000;"><strong>Read more:</strong></span></em></p>
<ul>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/step-step-process-install-red-hat-enterprise-linux/" target="_blank" rel="noopener">How to Install Red Hat Linux 7.3 on Virtual Machine</a></strong></li>
<li><strong><a href="https://techyaz.com/rhel/fix-putty-network-error-connection-timed/" target="_blank" rel="noopener">Fixing PuTTY connection issue while connecting to Red Hat Linux Server</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-2017-redhat-linux-without-internet-offline-installation/" target="_blank" rel="noopener">Installing SQL Server 2017 on Red Hat Linux Server</a></strong></li>
</ul>
<p>Here, we have fixed Linux error &#8220;<em>User is not in the sudoers file. This incident will be reported</em>.&#8221; I hope you like this article. Please follow us on our <a href="https://www.facebook.com/Techyaz/">facebook</a> page and on <a href="https://twitter.com/Tech_yaz">Twitter</a> handle to get latest updates.</p>
<p>The post <a href="https://techyaz.com/rhel/fixing-error-user-not-sudoers-file-incident-will-reported-red-hat-linux-server/">Fixing Error &#8220;User is not in the sudoers file. This incident will be reported.&#8221;</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/rhel/fixing-error-user-not-sudoers-file-incident-will-reported-red-hat-linux-server/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
