<?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>Ubuntu Tutorials &#187; Security</title>
	<atom:link href="http://www.ubuntututorials.net/category/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ubuntututorials.net</link>
	<description>Copy/Paste tutorials for Ubuntu</description>
	<lastBuildDate>Sun, 15 Aug 2010 17:57:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Install mod_spamhaus Apache module to fight comment spam</title>
		<link>http://www.ubuntututorials.net/install-mod-spamhaus-apache-module-to-fight-comment-spam/</link>
		<comments>http://www.ubuntututorials.net/install-mod-spamhaus-apache-module-to-fight-comment-spam/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 20:58:02 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Jaunty Jackalope]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[spamhaus]]></category>

		<guid isPermaLink="false">http://www.ubuntututorials.net/?p=53</guid>
		<description><![CDATA[mod_spamhaus is an Apache module for DNS Block Listing that protects web services by denying access to particular IP addresses. It can stop spam relaying via web form URL injection, and block HTTP DDoS attacks from bot-nets.
It queries sbl-xbl.spamhaus.org, taking advantage of the Spamhaus Block List (SBL) and the Exploits Block List (XBL). 
1. Install [...]]]></description>
			<content:encoded><![CDATA[<p>mod_spamhaus is an Apache module for DNS Block Listing that protects web services by denying access to particular IP addresses. It can stop spam relaying via web form URL injection, and block HTTP DDoS attacks from bot-nets.</p>
<p>It queries sbl-xbl.spamhaus.org, taking advantage of the Spamhaus Block List (SBL) and the Exploits Block List (XBL). </p>
<p>1. Install the package</p>
<p><code>apt-get install libapache2-mod-spamhaus<br />
</code><span id="more-53"></span></p>
<p>Apache is automatically restarted and the module is enabled. If you would like to test the module you can add a line to your hosts file to make it think that your IP address is blocked (pico /etc/hosts)</p>
<p><code>127.0.0.4 1.0.168.192.sbl-xbl.spamhaus.org<br />
</code></p>
<p><em>Replace 1.0.168.192 with your IP address and reverse it. The IP address 192.168.0.1 should read 1.0.168.192.</em></p>
<p>By default, only POST, PUT, OPTIONS, CONNECT methods are blocked. You can add GET to the list of methods blocked in /etc/apache2/mods-enabled/mod-spamhaus.conf to block the spammers from seeing your website.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ubuntututorials.net/install-mod-spamhaus-apache-module-to-fight-comment-spam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable root login to SSH</title>
		<link>http://www.ubuntututorials.net/disable-root-login-to-ssh/</link>
		<comments>http://www.ubuntututorials.net/disable-root-login-to-ssh/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 20:16:46 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Jaunty Jackalope]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.ubuntututorials.net/?p=41</guid>
		<description><![CDATA[Allowing root logins to your SSH damon is a big security threat. If the SSH port is open, hackers will probably at some time attempt to brute force your root password. It's a good idea to disable root logins to SSH and instead use a normal user to login and use sudo to perform tasks [...]]]></description>
			<content:encoded><![CDATA[<p>Allowing root logins to your SSH damon is a big security threat. If the SSH port is open, hackers will probably at some time attempt to brute force your root password. It's a good idea to disable root logins to SSH and instead use a normal user to login and use sudo to perform tasks that require root privileges.</p>
<p>1. Open the SSH daemon config file and change this line: (sudo pico /etc/ssh/sshd_config)</p>
<p><code>PermitRootLogin no<br />
</code><span id="more-41"></span></p>
<p>2. Restart the SSH daemon</p>
<p><code>sudo /etc/init.d/ssh restart<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ubuntututorials.net/disable-root-login-to-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add a sudoer (user allowed to use sudo)</title>
		<link>http://www.ubuntututorials.net/add-a-sudoer-user-allowed-to-use-sudo/</link>
		<comments>http://www.ubuntututorials.net/add-a-sudoer-user-allowed-to-use-sudo/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 17:32:41 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Jaunty Jackalope]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[sudo]]></category>

		<guid isPermaLink="false">http://www.ubuntututorials.net/?p=29</guid>
		<description><![CDATA[Sudo allows a system administrator to delegate authority to give certain users (or groups of users) the ability to run some (or all) commands as root or another user while providing an audit trail of the commands and their arguments. 
1. Create a new user (optional)
adduser user1

2. As root, run this command:
visudo

3. Add this line [...]]]></description>
			<content:encoded><![CDATA[<p>Sudo allows a system administrator to delegate authority to give certain users (or groups of users) the ability to run some (or all) commands as root or another user while providing an audit trail of the commands and their arguments. </p>
<p>1. Create a new user (optional)</p>
<p><code>adduser user1<br />
</code><span id="more-29"></span></p>
<p>2. As root, run this command:</p>
<p><code>visudo<br />
</code></p>
<p>3. Add this line into the file:</p>
<p><code>user1    ALL=(ALL) ALL<br />
</code></p>
<p><em>This will allow user1 to run all commands as root. You can also limit the access, <a href="http://www.sudo.ws/sudo/man/sudoers.html" target="_blank">Click here to view the syntax</a></em></p>
<p>4. Save the file by pressing Ctrl-X if you are using Nano or :w if using vi</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ubuntututorials.net/add-a-sudoer-user-allowed-to-use-sudo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
