<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="ARTICLE @ XOOPS powered by FeedCreator" -->
<rss version="0.91">
    <channel>
        <title>Cheap Web Hosting Domain Name Registration :: Article</title>
        <description><![CDATA[Article XML]]></description>
        <link>http://www.hostsdepot.com/modules/article/view.article.php/18/c8</link>
        <lastBuildDate>Tue, 07 Feb 2012 16:49:33 +1700</lastBuildDate>
        <generator>ARTICLE @ XOOPS powered by FeedCreator</generator>
        <image>
            <url>http://www.hostsdepot.com/modules/article/images/logo.png</url>
            <title>Cheap Web Hosting Domain Name Registration :: Article</title>
            <link>http://www.hostsdepot.com/modules/article/</link>
            <width>80</width>
            <height>15</height>
            <description>Article XML</description>
        </image>
        <language>en</language>
        <managingEditor>admin at hostsdepot dot com</managingEditor>
        <webMaster>admin at hostsdepot dot com</webMaster>
        <category>Hosting Article</category>
        <item>
            <title>How To Disable Direct Root Login</title>
            <link>http://www.hostsdepot.com/modules/article/view.article.php/18/c8</link>
            <description><![CDATA[Category: Dedicated Web Hosting<br />Keywords: root su login ssh2Why would you want to disable root login? <br />Well.. you're not.. You are disabling "direct" root login. <br /><br />This will force a hacker to have to guess 2 seperate passwords to gain root access.. (you do have 2 seperate passwords for admin and root right?) <br /><br />After you do this, you will have to login as 'admin' then you will 'su -' to get to root.. We also will be forcing the use of SSH protocol 2, which is a newer, more secure SSH protocol <br /><br />Just a couple more ways to help your server stay safe from the bad guys. <br /><br />If you're using cPanel make sure you add your admin user to the 'wheel' group so that you will be able to 'su -' to root, otherwise you may lock yourself out of root <br /><br />1) SSH into your server as 'admin' and gain root access by <br /><br />su - <br /><br />2) Copy and paste this line to edit the file <br /><br />pico -w /etc/ssh/sshd_config <br /><br />3) Find the line <br /><br />#Protocol 2, 1 <br /><br />4) Uncomment it and change it to look like <br /><br />Protocol 2 <br /><br />5) Next, find the line <br /><br />#PermitRootLogin yes <br /><br />6)Uncomment it and make it look like <br /><br />PermitRootLogin no <br /><br />7) Save the file <br /><br />ctrl 'x' then 'y' then enter <br /><br /> Restart SSH <br /><br />/etc/rc.d/init.d/sshd restart <br /><br />Now, no one will be able to login to root with out first loggin in as admin and 'su -' to root, and you will be forcing the use of a more secure protocol<br />]]></description>
            <author>Hostsdepot</author>
            <pubDate>Thu, 01 Jan 1970 00:00:00 +1700</pubDate>
        </item>
    </channel>
</rss>

