Home   Help Login Register  
Welcome, Guest. Please login or register.

Login with username, password and session length

Search
Free Website WooThemes - Quality Themes, Great Support
Pages: [1]   Go Down
Print
Topic: Linux Server Security :: cPanel/WHM  (Read 1203 times)
« on: April 23, 2008, 01:00:54 PM »
John Offline
Newbie

View Profile
*

iTrader: 0
Posts: 6



Hi,

Let's share how you are making your cPanel server more secure. This will help the beginners.

Thanks,

John

Share this topic on AskShare this topic on BlinkbitsShare this topic on BlinklistShare this topic on BloglinesShare this topic on BmarksShare this topic on Del.icio.usShare this topic on DiggShare this topic on DzoneShare this topic on FacebookShare this topic on Feed Me LinksShare this topic on FurlShare this topic on GoogleShare this topic on LiveShare this topic on MagnoliaShare this topic on MySpaceShare this topic on NetvouzShare this topic on NewsvineShare this topic on OneviewShare this topic on RedditShare this topic on RojoShare this topic on ScuttleShare this topic on ShadowsShare this topic on SlashdotShare this topic on SpurlShare this topic on SquidooShare this topic on StumbleUponShare this topic on TechnoratiShare this topic on TwitterShare this topic on TipdShare this topic on YahooShare this topic on Google buzz
« Last Edit: December 31, 1969, 05:00:00 PM by John » Logged
« Reply #1 on: April 26, 2008, 06:04:51 AM »
Kailash Offline
Administrator
Newbie

View Profile WWW
*****

iTrader: 50
Posts: 286



First, install fierwall (APF or configserver security and firewall) and then install Root kit checker (chkrootkit).

To install chkrootkit, SSH into server and login as root.
At command prompt type:

cd /root/ (any location where you would like to install it)
wget ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz
tar xvzf chkrootkit.tar.gz
cd chkrootkit-0.44
make sense

To run chkrootkit

At command prompt type:
/root/chkrootkit-0.44/chkrootkit

Also set the cron to run chrootkit on regular basis and keep the version of chkrootkit updated.
« Last Edit: December 31, 1969, 05:00:00 PM by Kailash » Logged

« Reply #2 on: April 27, 2008, 09:09:00 AM »
Mike Offline
Newbie

View Profile
*

iTrader: 0
Posts: 36



Regularly install OS patches and upgrade cPanel version. If possible set a cron job to check the update for cPanel.

Mike
« Last Edit: December 31, 1969, 05:00:00 PM by Mike » Logged
« Reply #3 on: April 27, 2008, 10:47:25 AM »
Andrew Offline
Newbie

View Profile
*

iTrader: 0
Posts: 11



Bind SSH on a single IP address other than shared IP address of the server and also on a different port than port 22 (default).

To change these, type the below at command prompt:

pico /etc/ssh/sshd_config

Scroll down to below section:

#Port 22
#Protocol 2, 1
#ListenAddress 0.0.0.0
#ListenAddress ::

uncomment and change Port 22 to
Port 1344 (which you would like to use)

Uncomment and change Protocol 2, 1 to
Protocol 2

Uncomment and change ListenAddress 0.0.0.0
ListenAddress 1.1.1.1 (One of the IP address of your server).

Regards,

Andrew
« Last Edit: December 31, 1969, 05:00:00 PM by Andrew » Logged
Pages: [1]   Go Up
Print
Jump to:  

Untitled Document
(c) 2012 HELM, WHM, cPanel, ASP, .Net development, PHP, MySQL, MSSQL Server, SEO support forum
Powered by SMF 1.1.16 | SMF © 2011, Simple Machines | Forum style designed by PixelSlot
Google - Sitemap - XML Sitemap