<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="ARTICLE @ XOOPS powered by FeedCreator" -->
<feed version="0.3" xmlns="http://purl.org/atom/ns#" xml:lang="en">
    <title>Cheap Web Hosting Domain Name Registration :: Article</title>
    <tagline>Article XML</tagline>
    <link rel="alternate" type="text/html" href="http://www.hostsdepot.com/modules/article/view.article.php/18/c8"/>
    <id>http://www.hostsdepot.com/modules/article/view.article.php/18/c8</id>
    <modified>2012-02-07T17:02:27+17:00</modified>
    <author>
        <name>admin at hostsdepot dot com</name>
    </author>
    <generator>ARTICLE @ XOOPS powered by FeedCreator</generator>
    <entry>
        <title>How To Disable Direct Root Login</title>
        <link rel="alternate" type="text/html" href="http://www.hostsdepot.com/modules/article/view.article.php/18/c8"/>
        <created>1970-01-01T00:00:00+17:00</created>
        <issued>1970-01-01T00:00:00+17:00</issued>
        <modified>1970-01-01T00:00:00+17:00</modified>
        <id>http://www.hostsdepot.com/modules/article/view.article.php/18/c8</id>
        <author>
            <name>Hostsdepot</name>
        </author>
        <summary>Category: Dedicated Web Hosting&lt;br /&gt;Keywords: root su login ssh2Why would you want to disable root login? &lt;br /&gt;Well.. you're not.. You are disabling &quot;direct&quot; root login. &lt;br /&gt;&lt;br /&gt;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?) &lt;br /&gt;&lt;br /&gt;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 &lt;br /&gt;&lt;br /&gt;Just a couple more ways to help your server stay safe from the bad guys. &lt;br /&gt;&lt;br /&gt;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 &lt;br /&gt;&lt;br /&gt;1) SSH into your server as 'admin' and gain root access by &lt;br /&gt;&lt;br /&gt;su - &lt;br /&gt;&lt;br /&gt;2) Copy and paste this line to edit the file &lt;br /&gt;&lt;br /&gt;pico -w /etc/ssh/sshd_config &lt;br /&gt;&lt;br /&gt;3) Find the line &lt;br /&gt;&lt;br /&gt;#Protocol 2, 1 &lt;br /&gt;&lt;br /&gt;4) Uncomment it and change it to look like &lt;br /&gt;&lt;br /&gt;Protocol 2 &lt;br /&gt;&lt;br /&gt;5) Next, find the line &lt;br /&gt;&lt;br /&gt;#PermitRootLogin yes &lt;br /&gt;&lt;br /&gt;6)Uncomment it and make it look like &lt;br /&gt;&lt;br /&gt;PermitRootLogin no &lt;br /&gt;&lt;br /&gt;7) Save the file &lt;br /&gt;&lt;br /&gt;ctrl 'x' then 'y' then enter &lt;br /&gt;&lt;br /&gt; Restart SSH &lt;br /&gt;&lt;br /&gt;/etc/rc.d/init.d/sshd restart &lt;br /&gt;&lt;br /&gt;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&lt;br /&gt;</summary>
    </entry>
</feed>

