<?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 Disable Shutdown and Reboot Commands in Linux	</title>
	<atom:link href="https://www.tecmint.com/disable-shutdown-and-reboot-commands-in-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/disable-shutdown-and-reboot-commands-in-linux/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Thu, 13 Jul 2023 14:59:14 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/disable-shutdown-and-reboot-commands-in-linux/comment-page-1/#comment-1574069</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Tue, 24 Aug 2021 06:38:01 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=25753#comment-1574069</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/disable-shutdown-and-reboot-commands-in-linux/comment-page-1/#comment-1574059&quot;&gt;dave&lt;/a&gt;.

@Dave,

You can remove execute perimssion as shown.
&lt;pre&gt;
# chmod -x /sbin/shutdown
# chmod -x /sbin/reboot
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/disable-shutdown-and-reboot-commands-in-linux/comment-page-1/#comment-1574059">dave</a>.</p>
<p>@Dave,</p>
<p>You can remove execute perimssion as shown.</p>
<pre>
# chmod -x /sbin/shutdown
# chmod -x /sbin/reboot
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: dave		</title>
		<link>https://www.tecmint.com/disable-shutdown-and-reboot-commands-in-linux/comment-page-1/#comment-1574059</link>

		<dc:creator><![CDATA[dave]]></dc:creator>
		<pubDate>Tue, 24 Aug 2021 05:15:07 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=25753#comment-1574059</guid>

					<description><![CDATA[&lt;pre&gt;
# chmod o-x /sbin/shutdown
# chmod o-x /sbin/reboot
&lt;/pre&gt;
how to revert them?]]></description>
			<content:encoded><![CDATA[<pre>
# chmod o-x /sbin/shutdown
# chmod o-x /sbin/reboot
</pre>
<p>how to revert them?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Felix Andre		</title>
		<link>https://www.tecmint.com/disable-shutdown-and-reboot-commands-in-linux/comment-page-1/#comment-1271649</link>

		<dc:creator><![CDATA[Felix Andre]]></dc:creator>
		<pubDate>Sat, 19 Oct 2019 17:56:46 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=25753#comment-1271649</guid>

					<description><![CDATA[Hello, how many white spaces should I leave between the user and the rest of this sentence: 
&lt;pre&gt;
tecmint   ALL=(ALL:ALL) ALL, !SHUTDOWN
&lt;/pre&gt;
Same question for this one as well: 
&lt;pre&gt;
Cmnd_Alias     SHUTDOWN = /sbin/shutdown,/sbin/reboot,/sbin/halt,/sbin/poweroff
&lt;/pre&gt;

And this file needs to be reloaded after I modify it with some /etc/init.d ... ? Thank you]]></description>
			<content:encoded><![CDATA[<p>Hello, how many white spaces should I leave between the user and the rest of this sentence: </p>
<pre>
tecmint   ALL=(ALL:ALL) ALL, !SHUTDOWN
</pre>
<p>Same question for this one as well: </p>
<pre>
Cmnd_Alias     SHUTDOWN = /sbin/shutdown,/sbin/reboot,/sbin/halt,/sbin/poweroff
</pre>
<p>And this file needs to be reloaded after I modify it with some /etc/init.d &#8230; ? Thank you</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Aaron Kili		</title>
		<link>https://www.tecmint.com/disable-shutdown-and-reboot-commands-in-linux/comment-page-1/#comment-1246760</link>

		<dc:creator><![CDATA[Aaron Kili]]></dc:creator>
		<pubDate>Wed, 18 Sep 2019 07:34:56 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=25753#comment-1246760</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/disable-shutdown-and-reboot-commands-in-linux/comment-page-1/#comment-1245641&quot;&gt;Dimitry&lt;/a&gt;.

@Dimitry 

Simply remove the &lt;code&gt;Cmnd_Alias SHUTDOWN = /sbin/shutdown,/sbin/reboot,/sbin/halt,/sbin/poweroff&lt;/code&gt; line from sudoers file and !SHUTDOWN.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/disable-shutdown-and-reboot-commands-in-linux/comment-page-1/#comment-1245641">Dimitry</a>.</p>
<p>@Dimitry </p>
<p>Simply remove the <code>Cmnd_Alias SHUTDOWN = /sbin/shutdown,/sbin/reboot,/sbin/halt,/sbin/poweroff</code> line from sudoers file and !SHUTDOWN.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dimitry		</title>
		<link>https://www.tecmint.com/disable-shutdown-and-reboot-commands-in-linux/comment-page-1/#comment-1245641</link>

		<dc:creator><![CDATA[Dimitry]]></dc:creator>
		<pubDate>Mon, 16 Sep 2019 16:19:23 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=25753#comment-1245641</guid>

					<description><![CDATA[How to bring back this commands for all users?]]></description>
			<content:encoded><![CDATA[<p>How to bring back this commands for all users?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
