<?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>My Online Guides, Tutorials Collection Blog &#187; Cpanel</title>
	<atom:link href="http://www.myguideblog.com/category/cpanel/feed" rel="self" type="application/rss+xml" />
	<link>http://www.myguideblog.com</link>
	<description>My Online Guides, Tutorials Collection Blog</description>
	<lastBuildDate>Tue, 03 Mar 2009 03:24:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Secure/Setup cPanel/WHM</title>
		<link>http://www.myguideblog.com/cpanel/securesetup-cpanelwhm-6238</link>
		<comments>http://www.myguideblog.com/cpanel/securesetup-cpanelwhm-6238#comments</comments>
		<pubDate>Wed, 04 Feb 2009 08:36:37 +0000</pubDate>
		<dc:creator>KhaTu</dc:creator>
				<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[Secure]]></category>
		<category><![CDATA[Setup cPanel]]></category>
		<category><![CDATA[whm]]></category>

		<guid isPermaLink="false">http://www.myguideblog.com/?p=6238</guid>
		<description><![CDATA[READ ALL THIS:
This tutorial is based on the release version of cpanel. With updates is  is bound to change with time.
This setup is based on security, performance and tries to take consideration to new setups as well as existing setups. If a setting isn&#8217;t mentioned here you are safe to make sure your own [...]]]></description>
			<content:encoded><![CDATA[<p><strong>READ ALL THIS:</strong></p>
<p>This tutorial is based on the <strong>release version of cpanel. With updates is  is bound to change</strong> with time.</p>
<p>This setup is <strong>based on security, performance</strong> and tries to take <strong>consideration to new setups as well as existing setups</strong>. If a setting isn&#8217;t mentioned here you are safe to make sure your own setting. <strong>This is also only a guide</strong>. If you are a web hosting company and DO offer Front Page services then naturally you need to ensure it is turned on in the Feature Lists &#8211; however you should make sure its only turned on in packages where you are offering that feature. <strong>Use common sense and always think of security first.</strong></p>
<p><strong>Form:</strong> For your convenience and for hard copy records you can use the check list provided and print afterwards.</p>
<p><strong>Server IP Address</strong></p>
<input type="text" />
<input type="checkbox" /><strong>Server Configuration</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" /><strong> Basic cPanel/WHM Setup</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" />Set a Server Contact E-Mail Address</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Change Root Password</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" />Reset Root Password</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Server Time</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" />Set correct time zone for syncing. Ensures time is setup for updates to be setup later</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Tweak Settings</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" />Untick: Allow users to Park/Addon Domains on top of domains owned by other users</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Untick: Allow Creation of Parked/Addon Domains that are not registered</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Tick: Prevent users from parking/adding on common internet domains</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Blackhole: Default catch-all/default address behavior for new accounts. fail will generally save the most CPU time</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Tick: Email users when they have reached 80% of their bandwidth</p>
<p style="padding-left: 30px;">
<input type="checkbox" />60: Number of minutes between mail server queue runs (default is 60)</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Tick: Track the origin of messages sent though the mail server by adding the X-Source headers (exim 4.34+ required)</p>
<p style="padding-left: 30px;">
<input type="checkbox" />50: The maximum each domain can send out per hour</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Tick: Prevent the user &#8220;nobody&#8221; from sending out mail to remote addresses (PHP and CGI scripts generally run as nobody if you are not using PHPSuexec and Suexec respectively.)</p>
<p style="padding-left: 30px;">
<input type="checkbox" />120: The number of times users are allowed to check their mail using pop3 per hour. Zero is unlimited</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Tick: Attempt to prevent pop3 connection floods</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Tick: Mail Box Usage Warnings</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Untick: Disable Suspending accounts that exceed their bandwidth limit</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Tick: Disk Space Usage Warnings</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Untick: FormMail-clone cgi</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Tick: Allow Sharing Nameserver Ips</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Untick: Disable Disk Quota display caching</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Tick: Display Errors in cPanel instead of logging them to /usr/local/cpanel/logs/error_log</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Untick: Do not warn about features that will be depreciated in later releases</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Untick: Use jailshell as the default shell for all new accounts and modified accounts</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Untick: Allow cPanel users to reset their password via email</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Untick: Disable Http Authentication for cPanel/WebMail/WHM Logins (forces cookie authentication)</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Set: The default administrative contact for cPAddons moderation emails</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Tick: Alert cPAddons administrator of pending moderation requests</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Tick: Prevent installation of addon scripts not provided by cPanel</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Tick: Prevent installation of cPanel addon scripts that have be altered</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Update Config</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" />cPanel/WHM Updates: Automatic (RELEASE tree)</p>
<p style="padding-left: 30px;">
<input type="checkbox" />cPanel Package Updates: Automatic</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Security Package Updates: Automatic</p>
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Networking Setup</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Hostname</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" />Set Valid Hostname. Set a name that describes the server&#8217;s role.</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Resolver Configuration</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" />Set Resolver IP addresses &#8211; Run a WHOIS on the IP addresses already present to check if the provider has already entered these values. If not, contact your provider for the resolver IP addresses.</p>
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Security</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" /><strong> Fix Insecure Permissions (Scripts)</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" />Run &#8211; Only have to click link in nav to run it</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Manage Wheel Group Users</strong></p>
<p style="padding-left: 30px;">WARNING: Only proceed with this one if you have disabled direct root login with SSH<br />
Remove all users who shouldn&#8217;t have su (switch user) access. Generally this should include root if direct root login is disabled for security.
</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Manage Wheel Group Users</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" />Run &#8211; Only have to click link in nav to run it</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Quick Security Scan</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" />Run &#8211; Only have to click link in nav to run it. Everything should have [FAILED] next to it.</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Shell Fork Bomb Protection</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" />Enable Protection</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<input type="checkbox" /><strong> Tweak Security</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" />Php open_basedir Tweak: Enable php open_basedir Protection &amp; Untick all other boxes</p>
<p style="padding-left: 30px;">
<input type="checkbox" />mod_userdir Tweak: Enable mod_userdir Protection</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Compilers Tweak: Disable Compilers</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Traceroute Tweak: Disable</p>
<p style="padding-left: 30px;">
<input type="checkbox" />SMTP Tweak: Enable</p>
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Server Contacts</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Alert Type Assignment</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" />AIM: 1</p>
<p style="padding-left: 30px;">
<input type="checkbox" />ICQ: 2</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Email: 3</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Pager: 4</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Alert Priority Assignment</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" />Set all to 3</p>
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Resellers<br />
(Needs to be setup before anyone is added. If not, the default settings have to be overwritten or an ACL List made and set on creation of a reseller account)</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Edit Privileges/Nameservers</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" />Untick: Enabling/Disabling FrontPage Extensions</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Untick: Turn an account into a demo account</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Untick: Allow Creation of Packages with Shell Access</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Untick: Allow creation of packages with Addon Domains</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Untick: Allow creation of packages with Parked Domains</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Tick: Disallow creation of accounts with packages that are not global or not owned by this user</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Tick: Never allow creation of accounts with shell access</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Untick: All Features (warning: root access)</p>
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Service Configuration</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Enable/Disable SuExec</strong></p>
<p style="padding-left: 30px;">Enable</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Exim Configuration Editor</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" />Untick: Always set the Sender: header when the sender is changed from the actual sender</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Tick: Verify the existance of email senders</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Tick: Use callouts to verify the existance of email senders</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Tick: Discard emails for users who have exceeded their quota instead of keeping them in the queue</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>FTP Configuration</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" />Ensure &#8220;pure-ftpd&#8221; is in use &#8211; Change otherwise</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Anonymous Ftp: Disabled</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<input type="checkbox" /><strong> Service Manager</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" />For performance untick<strong> enabled</strong> and <strong>monitoring</strong> on:</p>
<p style="padding-left: 30px;">entropychat<br />
imap<br />
interchange<br />
melange
</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Only tick the monitor option for things you want customers to see. Best to reduce to cause less confusion. Try and stick to minimum like FTP, HTTPD, BIND and MYSQL.</p>
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Account Information</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>List Parked Domains</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" />Check for any unauthorised domains</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>List Suspended Accounts</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" />Check and become familiar with any suspended accounts</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Show Accounts over Quota</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" />Check and become familiar with any accounts over quotas</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<input type="checkbox" /><strong> View Bandwidth Usage<br />
</strong><br />
Check and become familiar with any accounts over limits
</p>
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Account Functions</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Manage Shell Access</strong></p>
<p style="padding-left: 30px;">Disable all accounts</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Modify Suspended Account Page</strong></p>
<p style="padding-left: 30px;">Change to:</p>
<p style="padding-left: 30px;">&lt;b&gt;Attention: This account has been suspended. Please contact your provider for more information&lt;/b&gt;</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<input type="checkbox" /><strong> Skeleton Directory</strong></p>
<p style="padding-left: 30px;">Check this path, then SSH into the server and setup the directory. Remove any rubbish and leave only what is needed. Ensure that no Front page Server Extensions are present.</p>
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>FrontPage</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" /><strong> Uninstall FrontPage Extensions</strong></p>
<p style="padding-left: 30px;">Uninstall any known installations of these. Note: Doing so will rename the .htaccess file in the document root on the account. Only do this is you know it installed and want it removed. You may have to login to the account, rename the .htaccess.986984278 (or something similar) back to .htaccess and manually remove any FrontPage rubbish from the file.</p>
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Packages</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Add Packages</strong></p>
<p style="padding-left: 30px;">If there are no packages, add a default package with the following:</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Package Name: Default</p>
<input type="checkbox" />Untick: Shell Access</p>
<input type="checkbox" /> Max Parked Domains: 0</p>
<input type="checkbox" /> Max Addon Domains: 0</p>
<input type="checkbox" /> Untick: Cgi Access</p>
<input type="checkbox" /> Untick: Frontpage Extentions</p>
<input type="checkbox" /> Feature List: default
</p>
<p style="padding-left: 30px;">Others can be left blank.</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Delete Packages</strong></p>
<p style="padding-left: 30px;">As required: Remove any old packages or packages belonging to users that no longer exist.</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Edit Packages</strong></p>
<p style="padding-left: 30px;">Check all packages and make sure the following is set:</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Untick: Shell Access<em>WARNING: </em></p>
<input type="checkbox" /> Max Parked Domains: 0</p>
<input type="checkbox" /> Max Addon Domains: 0</p>
<input type="checkbox" /> Untick: Cgi Access</p>
<input type="checkbox" /> Untick: Frontpage Extentions
</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<input type="checkbox" /><strong> Feature Manager</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" />Untick: SSH Window</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Untick: Frontpage</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Untick: Parked Domain Manager</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Untick: Addon Domain Manager</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Tick: Fantastico (if available)</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Tick: Fantastico De Luxe (if available)</p>
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Email</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Mail Queue Manager</strong></p>
<p style="padding-left: 30px;">Check that there is no back log. If any, check why frozen. Investigate any large back logs.</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Repair Mailbox permissions</strong></p>
<p style="padding-left: 30px;">Run</p>
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>System Health</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Background Process Killer</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" />Tick all boxes:</p>
<p style="padding-left: 30px;">BitchX<br />
bnc<br />
eggdrop<br />
generic-sniffers<br />
guardservices<br />
ircd<br />
psyBNC<br />
ptlink<br />
services
</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Remove any trusted users.</p>
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>cPanel</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" /><strong> Addon Modules</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" />Tick: Install and Keep Updated</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Tick: clamavconnector</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Tick: modsecurity</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Tick: addonupdates</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Tick: cronconfig</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Allow to install. Then close WHM and reopen.</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<input type="checkbox" /><strong> Install cPAddon Scripts</strong></p>
<p style="padding-left: 30px;">Untick anything giving a rank of 1 &#8211; these are the most insecure or ones that are going to give hell.</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Addon Scripts (Deprecated)</strong></p>
<p style="padding-left: 30px;">Uninstall anything in here &#8211; these are &#8220;handy&#8221; but in the end cause trouble especially if they are allowed to get out dated.</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Modify cPanel/WHM News</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" />Global cPanel News:</p>
<p style="padding-left: 60px;">&lt;p&gt;&lt;br&gt;&lt;b&gt;Account Tips:&lt;/b&gt;<br />
&lt;ul&gt;<br />
&lt;li&gt;Set all unrouted mail or your default email address on all domains and subdomains to &lt;i&gt;&lt;b&gt;:blackhole:&lt;/b&gt;&lt;/i&gt; to avoid spam attacks against your account.&lt;/li&gt;<br />
&lt;li&gt;Set a contact email address that is not located on this server so you can be contacted in emergencies (eg. gmail or hotmail).&lt;/li&gt;<br />
&lt;li&gt;Ensure Anonymous FTP Access is turned off on your account.&lt;/li&gt;<br />
&lt;li&gt;Disable directory listing on your public_html folder to secure your files.&lt;/li&gt;<br />
&lt;li&gt;Use a strong password and change it regularly.&lt;/li&gt;<br />
&lt;li&gt;Back up your data regularly. Customers are responsible for backing up their own data.&lt;/li&gt;&lt;/ul&gt;<br />
&lt;p&gt;If you need help with any of the above, please contact our support department.&lt;/p&gt;
</p>
<p style="padding-left: 30px;">
<input type="checkbox" />cPanel News (displayed in all of your customers cPanels):</p>
<p style="padding-left: 60px;">Welcome to <strong>$company_name</strong>. For all your support needs, &lt;a href=<strong>&#8220;http://www.support-url-here.com&#8221;</strong> target=&#8221;_blank&#8221;&gt;contact our helpdesk&lt;/a&gt; and we&#8217;d be glad to help.</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Synchronize FTP Passwords</strong></p>
<p style="padding-left: 30px;">Run</p>
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Add-ons</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Addon Script Manager</strong></p>
<p style="padding-left: 30px;">Check for any out of date install that are open to attack</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Configure cPanel Cron Times</strong></p>
<p style="padding-left: 30px;">Configure to a time that know that your server load is low. The default may be okay, but this needs to be checked.</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Configure ClamAV Scanner</strong></p>
<p style="padding-left: 30px;">
<input type="checkbox" />Tick: Scan Entire Home Directory</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Tick: Scan Mail</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Tick: Scan Public FTP Space</p>
<p style="padding-left: 30px;">
<input type="checkbox" />Tick: Scan Public Web Space</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<input type="checkbox" /><strong>Mod Security</strong></p>
<p style="padding-left: 30px;">Press Edit button</p>
<p style="padding-left: 30px;">Press Default button</p>
<p style="padding-left: 30px;">
<input type="checkbox" />After you have finished the above run, under <strong>Security</strong> go back and run <strong>Scan for Trojan Horses</strong>.</p>
<p><br class="spacer_" /></p>
<p><strong>Setup By:</strong></p>
<input type="text" value="By Mr.NgocChinh" />

	Tags: <a href="http://www.myguideblog.com/category/cpanel" title="Cpanel" rel="tag">Cpanel</a>, <a href="http://www.myguideblog.com/tag/secure" title="Secure" rel="tag">Secure</a>, <a href="http://www.myguideblog.com/tag/setup-cpanel" title="Setup cPanel" rel="tag">Setup cPanel</a>, <a href="http://www.myguideblog.com/tag/whm" title="whm" rel="tag">whm</a><br /><script type="text/javascript"> google_ad_client = "pub-9646538075083871"; google_ad_channel ="3089257411"; google_ad_width = 468; google_ad_height = 15; google_ad_format = "468x15_0ads_al"; google_color_border = "FFFFFF"; google_color_bg = "ffffff"; google_color_link = "114269"; google_color_text = "114269"; google_color_url = "114269"; </script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script><br /><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.myguideblog.com/cpanel/cpanel-back-end-67" title="Cpanel Back end (November 19, 2008)">Cpanel Back end</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.myguideblog.com/cpanel/securesetup-cpanelwhm-6238/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cpanel Back end</title>
		<link>http://www.myguideblog.com/cpanel/cpanel-back-end-67</link>
		<comments>http://www.myguideblog.com/cpanel/cpanel-back-end-67#comments</comments>
		<pubDate>Wed, 19 Nov 2008 04:56:42 +0000</pubDate>
		<dc:creator>Tony Tran</dc:creator>
				<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[cpanel back end]]></category>
		<category><![CDATA[cpanel script]]></category>
		<category><![CDATA[cpanel structrure]]></category>
		<category><![CDATA[whm]]></category>

		<guid isPermaLink="false">http://www.myguideblog.com/?p=67</guid>
		<description><![CDATA[Structure Of Cpanel
cPanel is a hosting automation company driven by technology and dedicated to providing the most feature rich, easy to use, practical applications. We are committed to the hosting community and our continued role as a market leader.
cPanel and WebHost Manager (WHM) combine to form a fully featured web hosting control panel system. cPanel [...]]]></description>
			<content:encoded><![CDATA[<h3>Structure Of Cpanel</h3>
<p><a href="http://www.myguideblog.com/wp-content/uploads/2008/11/cpanel.jpg"><img class="alignleft size-thumbnail wp-image-68" title="cpanel" src="http://www.myguideblog.com/wp-content/uploads/2008/11/cpanel.jpg" alt="" width="87" height="88" /></a>cPanel is a hosting automation company driven by technology and dedicated to providing the most feature rich, easy to use, practical applications. We are committed to the hosting community and our continued role as a market leader.</p>
<p>cPanel and WebHost Manager (WHM) combine to form a fully featured web hosting control panel system. cPanel and WHM allow you to provide an interface for both your customers and your staff.</p>
<p>The cPanel and WebHost Manager package includes:      * cPanel &#8211; Domain Owner Control Panel<br />
* WebHost Manager &#8211; Server Administration and Reseller Panel<br />
* Webmail Panel &#8211; Webmail Access Panel</p>
<p><strong><br />
</strong><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p><strong>Directory Structure of Cpanel</strong><br />
<strong>=======================</strong></p>
<p><strong>Apache</strong><br />
<strong>=======</strong><br />
/usr/local/apache<br />
+ bin- apache binaries are stored here &#8211; httpd, apachectl, apxs<br />
+ conf &#8211; configuration files &#8211; httpd.conf<br />
+ cgi-bin<br />
+ domlogs &#8211; domain log files are stored here<br />
+ htdocs<br />
+ include &#8211; header files<br />
+ libexec &#8211; shared object (.so) files are stored here &#8211; libphp4.so,mod_rewrite.so<br />
+ logs &#8211; apache logs &#8211; access_log, error_log, suexec_log<br />
+ man &#8211; apache manual pages<br />
+ proxy -<br />
+ icons -</p>
<p>Init Script :/etc/rc.d/init.d/httpd &#8211; apache start script<br />
Cpanel script to restart apache &#8211; /scripts/restartsrv_httpd</p>
<p><strong> Exim</strong><br />
<strong> =====</strong><br />
Conf : /etc/exim.conf &#8211; exim main configuration file<br />
/etc/localdomains &#8211; list of domains allowed to relay mail<br />
Log : /var/log/exim_mainlog &#8211; incoming/outgoing mails are logged here<br />
/var/log/exim_rejectlog &#8211; exim rejected mails are reported here<br />
/var/log/exim_paniclog &#8211; exim errors are logged here<br />
Mail queue: /var/spool/exim/input<br />
Cpanel script to restart exim &#8211; /scripts/restartsrv_exim<br />
Email forwarders and catchall address file &#8211; /etc/valiases/domainname.com<br />
Email filters file &#8211; /etc/vfilters/domainname.com<br />
POP user authentication file &#8211; /home/username/etc/domainname/passwd<br />
catchall inbox &#8211; /home/username/mail/inbox<br />
POP user inbox &#8211; /home/username/mail/domainname/popusername/inbox<br />
POP user spambox &#8211; /home/username/mail/domainname/popusername/spam<br />
Program : /usr/sbin/exim (suid &#8211; -rwsr-xr-x 1 root root )<br />
Init Script: /etc/rc.d/init.d/exim</p>
<p><strong>ProFTPD<br />
========</strong><br />
Program :/usr/sbin/proftpd<br />
Init Script :/etc/rc.d/init.d/proftpd<br />
Conf: /etc/proftpd.conf<br />
Log: /var/log/messages, /var/log/xferlog<br />
FTP accounts file &#8211; /etc/proftpd/username &#8211; all ftp accounts for the domain are listed here</p>
<p><strong>Pure-FTPD<br />
=========</strong><br />
Program : /usr/sbin/pure-ftpd<br />
Init Script :/etc/rc.d/init.d/pure-ftpd<br />
Conf: /etc/pure-ftpd.conf<br />
Anonymous ftp document root &#8211; /etc/pure-ftpd/ip-address</p>
<p><strong>Frontpage Extensions<br />
=================</strong><br />
Program &#8211; (Install): /usr/local/frontpage/version5.0/bin/owsadm.exe<br />
Uninstall and then install for re-installations<br />
FP files are found as _vti-bin, _vti-pvt, _vti-cnf, vti-log inside the public_html</p>
<p><strong>Mysql<br />
=======</strong><br />
Program : /usr/bin/mysql<br />
Init Script : /etc/rc.d/init.d/mysql<br />
Conf : /etc/my.cnf, /root/.my.cnf<br />
Data directory &#8211; /var/lib/mysql &#8211; Where all databases are stored.<br />
Database naming convention &#8211; username_dbname (eg: john_sales)<br />
Permissions on databases &#8211; drwx 2 mysql mysql<br />
Socket file &#8211; /var/lib/mysql/mysql.sock, /tmp/ mysql.sock</p>
<p><strong>SSHD<br />
======</strong><br />
Program :/usr/local/sbin/sshd<br />
Init Script :/etc/rc.d/init.d/sshd<br />
/etc/ssh/sshd_config<br />
Log: /var/log/messages</p>
<p><strong>Perl<br />
====</strong><br />
Program :/usr/bin/perl<br />
Directory :/usr/lib/perl5/5.6.1/</p>
<p><strong>PHP<br />
====</strong></p>
<p>Program :/usr/local/bin/php, /usr/bin/php<br />
ini file: /usr/local/lib/php.ini &#8211; apache must be restarted after any change to this file<br />
php can be recomplied using /scripts/easyapache</p>
<p><strong>Named(BIND)<br />
============</strong><br />
Program: /usr/sbin/named<br />
Init Script: /etc/rc.d/init.d/named<br />
/etc/named.conf<br />
db records:/var/named/<br />
/var/log/messages</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p><strong>Cpanel installation directory structure</strong><br />
=============================<br />
/usr/local/cpanel<br />
+ 3rdparty/ &#8211; tools like fantastico, mailman files are located here<br />
+ addons/ &#8211; AdvancedGuestBook, phpBB etc<br />
+ base/ &#8211; phpmyadmin, squirrelmail, skins, webmail etc<br />
+ bin/ &#8211; cpanel binaries<br />
+ cgi-sys/ &#8211; cgi files like cgiemail, formmail.cgi, formmail.pl etc<br />
+ logs/ &#8211; cpanel access log and error log<br />
+ whostmgr/ &#8211; whm related files</p>
<p><strong>WHM related files<br />
===============</strong><br />
/var/cpanel &#8211; whm files<br />
+ bandwidth/ &#8211; rrd files of domains<br />
+ username.accts &#8211; reseller accounts are listed in this files<br />
+ packages &#8211; hosting packages are listed here<br />
+ root.accts &#8211; root owned domains are listed here<br />
+ suspended &#8211; suspended accounts are listed here<br />
+ users/ &#8211; cpanel user file &#8211; theme, bwlimit, addon, parked, sub-domains all are listed in this files<br />
+ zonetemplates/ &#8211; dns zone template files are taken from here</p>
<p><strong>Common CPanel scripts<br />
===================</strong><br />
cpanel/whm Scripts are located in  /scripts/<br />
+ addns &#8211; add a dns zone<br />
+ addfpmail &#8211; Add frontpage mail extensions to all domains without them<br />
+ addfpmail2 -Add frontpage mail extensions to all domains without them<br />
+ addnetmaskips &#8211; Add the netmask 255.255.255.0 to all IPs that have no netmask<br />
+ addnobodygrp &#8211; Adds the gorup nobody and activates security<br />
+ addpop &#8211; add a pop account<br />
+ addservlets &#8211; Add JSP support to an account (requires tomcat)<br />
+ addstatus &#8211; (Internal use never called by user)<br />
+ adduser &#8211; Add a user to the system<br />
+ bandwidth &#8211; (OLD)<br />
+ betaexim &#8211; Installs the latest version of exim<br />
+ biglogcheck &#8211; looks for logs nearing 2 gigabytes in size<br />
+ bsdcryptoinstall &#8211; Installs crypto on FreeBSD<br />
+ bsdldconfig &#8211; Configures the proper lib directories in FreeBSD<br />
+ bsdpkgpingtest &#8211; Tests the connection speed for downloading FreeBSD packages<br />
+ buildbsdexpect &#8211; Install expect on FreeBSD<br />
+ builddomainaddr &#8211; (OLD)<br />
+ buildeximconf &#8211; Rebuilds exim.conf<br />
+ buildpostgrebsd-dev &#8211; Installs postgresql on FreeBSD.<br />
+ chcpass &#8211; change cpanel passwords<br />
+ easyapache &#8211; recompile/upgrade apache and/or php<br />
+ exim4 &#8211; reinstall exim and fix permissions<br />
+ fixcommonproblems &#8211; fixes most common problems<br />
+ fixfrontpageperm &#8211; fixes permission issues with Front Page<br />
+ fixmailman &#8211; fixes common mailman issues<br />
+ fixnamed &#8211; fixes common named issues<br />
+ fixndc &#8211; fixes rndc errors with named<br />
+ fixquotas &#8211; fixes quota problems<br />
+ fullhordereset &#8211; resets horde database to a fresh one &#8211; all previous user data are lost<br />
+ initquotas &#8211; initializes quotas<br />
+ installzendopt &#8211; installs zend optimizer<br />
+ killacct &#8211; terminate an account &#8211; make sure you take a backup of the account first<br />
+ mailperm &#8211; fixes permission problems with inboxes<br />
+ park &#8211; to park a domain<br />
+ pkgacct &#8211; used to backup an account<br />
+ restartsrv &#8211; restart script for services<br />
+ restorepkg &#8211; restores an account from a backup file ( pkgacct file)<br />
+ runlogsnow &#8211; update logs of all users<br />
+ runweblogs &#8211; update stats for a particular user<br />
+ securetmp &#8211; secures /tmp partition with options nosuexec and nosuid<br />
+ suspendacct &#8211; suspends an account<br />
+ unsuspendacct &#8211; unsuspends a suspended account<br />
+ upcp &#8211; updates cpanel to the latest version<br />
+ updatenow &#8211; updates the cpanel scripts<br />
+ updateuserdomains &#8211; updates userdomain entries</p>
<p><strong>Important cpanel/whm files<br />
====================</strong><br />
/etc/httpd/conf/httpd.conf &#8211; apache configuration file<br />
/etc/exim.conf &#8211; mail server configuration file<br />
/etc/named.conf &#8211; name server (named) configuration file<br />
/etc/proftpd.conf &#8211; proftpd server configuration file<br />
/etc/pure-ftpd.conf &#8211; pure-ftpd server configuration file<br />
/etc/valiases/domainname &#8211; catchall and forwarders are set here<br />
/etc/vfilters/domainname &#8211; email filters are set here<br />
/etc/userdomains &#8211; all domains are listed here &#8211; addons, parked,subdomains along with their usernames<br />
/etc/localdomains &#8211; exim related file &#8211; all domains should be listed here to be able to send mails<br />
/var/cpanel/users/username &#8211; cpanel user file<br />
/var/cpanel/cpanel.config &#8211; cpanel configuration file ( Tweak Settings )*<br />
/etc/cpbackup-userskip.conf -<br />
/etc/sysconfig/network &#8211; Networking Setup*<br />
/etc/hosts -<br />
/var/spool/exim -<br />
/var/spool/cron -<br />
/etc/resolv.conf &#8211; Networking Setup&#8211;&gt; Resolver Configuration<br />
/etc/nameserverips &#8211; Networking Setup&#8211;&gt; Nameserver IPs ( FOr resellers to give their nameservers )<br />
/var/cpanel/resellers &#8211; For addpkg, etc permissions for resellers.<br />
/etc/chkserv.d &#8211; Main &gt;&gt; Service Configuration &gt;&gt; Service Manager *<br />
/var/run/chkservd &#8211; Main &gt;&gt; Server Status &gt;&gt; Service Status *<br />
/var/log/dcpumon &#8211; top log process<br />
/root/cpanel3-skel &#8211; skel directory. Eg: public_ftp, public_html. (Account Functions&#8211;&gt;Skeleton Directory )*<br />
/etc/wwwacct.conf &#8211; account creation defaults file in WHM (Basic cPanel/WHM Setup)*<br />
/etc/cpupdate.conf &#8211; Update Config *<br />
/etc/cpbackup.conf &#8211; Configure Backup*<br />
/etc/clamav.conf &#8211; clamav (antivirus configuration file )<br />
/etc/my.cnf &#8211; mysql configuration file<br />
/usr/local/Zend/etc/php.ini OR /usr/local/lib/php.ini &#8211; php configuration file<br />
/etc/ips &#8211; ip addresses on the server (except the shared ip) (IP Functions&#8211;&gt;Show IP Address Usage )*<br />
/etc/ipaddrpool &#8211; ip addresses which are free<br />
/etc/ips.dnsmaster &#8211; name server ips<br />
/var/cpanel/Counters &#8211; To get the counter of each users.<br />
/var/cpanel/bandwidth &#8211; To get bandwith usage of domain</p>

	Tags: <a href="http://www.myguideblog.com/category/cpanel" title="Cpanel" rel="tag">Cpanel</a>, <a href="http://www.myguideblog.com/tag/cpanel-back-end" title="cpanel back end" rel="tag">cpanel back end</a>, <a href="http://www.myguideblog.com/tag/cpanel-script" title="cpanel script" rel="tag">cpanel script</a>, <a href="http://www.myguideblog.com/tag/cpanel-structrure" title="cpanel structrure" rel="tag">cpanel structrure</a>, <a href="http://www.myguideblog.com/tag/whm" title="whm" rel="tag">whm</a><br /><script type="text/javascript"> google_ad_client = "pub-9646538075083871"; google_ad_channel ="3089257411"; google_ad_width = 468; google_ad_height = 15; google_ad_format = "468x15_0ads_al"; google_color_border = "FFFFFF"; google_color_bg = "ffffff"; google_color_link = "114269"; google_color_text = "114269"; google_color_url = "114269"; </script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script><br /><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.myguideblog.com/cpanel/securesetup-cpanelwhm-6238" title="Secure/Setup cPanel/WHM (February 4, 2009)">Secure/Setup cPanel/WHM</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.myguideblog.com/cpanel/cpanel-back-end-67/feed</wfw:commentRss>
		<slash:comments>0</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! -->
