<?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>RedHatVN Network &#187; Disable wget</title>
	<atom:link href="http://redhatvn.net/tag/disable-wget/feed" rel="self" type="application/rss+xml" />
	<link>http://redhatvn.net</link>
	<description>Shared Linux problems</description>
	<lastBuildDate>Tue, 07 Sep 2010 08:08:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Disable wget</title>
		<link>http://redhatvn.net/disable-wget</link>
		<comments>http://redhatvn.net/disable-wget#comments</comments>
		<pubDate>Fri, 31 Jul 2009 16:58:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Disable wget]]></category>

		<guid isPermaLink="false">http://redhatvn.net/?p=37</guid>
		<description><![CDATA[wget is one of the largest threats for your server security. A single abuser that gains access to wget can download and run any script that he wants, totally compromising your server. It is highly recommended that you allow only root to use wget and you restrict all other users from it. It is highly [...]]]></description>
			<content:encoded><![CDATA[<p>wget is one of the largest threats for your server security. A single abuser that gains access to wget can download and run any script that he wants, totally compromising your server.<br />
It is highly recommended that you allow only root to use wget and you restrict all other users from it.<span id="more-37"></span></p>
<p>It is highly recommended that you allow only root to use wget and you restrict all other users from it.</p>
<ol>
<li>Login to your server as root</li>
<li>Run the fallowing command</li>
<blockquote><p><em>chmod 0700 /usr/bin/wget</em></p></blockquote>
</ol>
<p>Please note that disabling wget might cause some scripts to stop working. A known problem is that Fantastico will stop updating after this. The solution is pretty easy…<br />
<strong>Before </strong>you disable wget make sure that you do a copy of it with the initial permissions. You can use any name that you want, the fallowing is just an example:</p>
<blockquote><p><em>cp /usr/bin/wget /usr/bin/wget_secret</em></p></blockquote>
<p>In the Fantastico configuration input the location to wget as:</p>
<blockquote><p><em>/usr/bin/wget_secret</em></p></blockquote>
<p>If for some reason you you want to revert the change you simply have to do:</p>
<blockquote><p><em>chmod 0711 /usr/bin/wget</em></p></blockquote>
<p>If you have any questions or suggestions please leave a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://redhatvn.net/disable-wget/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->