Cheap Web Hosting Directory - Find Cheap Web Hosting Companies
HomeHosting ArticlesHosting GlossaryLinks
SPONSORED LINK
StartLogic
StartLogic - Affordable Webhosting
  • FREE Domain Name
  • 30 day Money Back Guarantee
  • FREE Web Builder
  • HOSTING CATEGORIES
    ASP/ASP.NET Hosting
    Dedicated Hosting
    E-Commerce Hosting
    JSP Hosting
    Low cost Hosting
    Managed Hosting
    PHP Hosting
    Reseller Hosting
    Unix/Linux Hosting
    Window Hosting
    SITE NAVIGATION
    Hosting Articles
    Web Links
    OUR PARTNERS
    Newport Web Design
    Cheap Web Hosting





    SpeedFox web hosting

    Disabling Direct Root Login (SSH)

    Disabling root login will force any attempted hackers to use 2 passwords making the odds of him breaking in even harder. Now we know you don't have to use two seperate passwords but if you don't you are making it easier for someone to break into your server.

    If you're using cPanel make sure you add your anotheruser user to the 'wheel' group so that you will be able to 'su -' to root, otherwise you may lock yourself out of root. Set up anotheruser if you haven't already got one:

    1. Login to your server via SSH as root.

    2. Type: pico -w /etc/ssh/sshd_config

    3. Find this line: PermitRootLogin yes Uncomment it so it looks like PermitRootLogin no

    4. Save the file Ctrl+X then Y and enter

    5. Type: groupadd anotheruser 6. Type: useradd anotheruser -ganotheruser 7. Type: passwd anotheruser passwordhere

    On a CPanel system, you can (MUST) now go into root WHM and add anotheruser to the wheel group. After you do this, you will have to login as anotheruser then you will 'su -' to get to root.

    Author: Web Hosting UK (http://www.session9.co.uk/ )

    Webmaster Forums ( http://www.ukwebmasterforums.com/ )

    Web Hosting Affiliate ( http://www.session9.co.uk/web-hosting-affiliate/ )

    Back
    OUR SPONSORS 





    PowWeb Hosting - $7.77/month!

    Buy web hosting from 1&1-Get $600 in FREE sofware

    Yahoo! Web Hosting

    StartLogic - Affordable Webhosting



    OUR PARTNERS
    Web Hosting Resource
    Programming Tutorials
    -Your Link Here


    Unix/Linux Hosting  •  Low cost Hosting  •  PHP Hosting  •  ASP/ASP.NET Hosting  •  Dedicated Hosting  •  Window Hosting  •  JSP Hosting  •  Reseller Hosting  •  E-Commerce Hosting  •  Managed Hosting
    Copyright @ 2000-2007 www.aBetterWebHost.com

    Partners: Partners Directory | Cisco Discussion Forum