Website Domain Registration and Website Hosting - Host a Website Tonight
GoWebsite.com provides Domain Registration
Website Hosting, On-Line Shopping Carts,
Blog Hosting, Email Accounts, Security Certificates,
Merchant Accounts & other Website Products.
Free setup! Speak with us anytime: (480) 624-2500

How can I log in as 'root' on my dedicated server?

By default, you cannot log in to your dedicated server remotely using "root." If you need "root" access on your dedicated server, use the su - command once you have logged in with your User ID. Alternatively, you can modify the sshd_config file to permit root access.

Some of the information in this article is advanced material we make available as a courtesy. Please be advised that you are responsible for properly following the procedures below. Customer Support cannot assist with these topics.

To Use the su - Command

The su (short for substitute user) command makes it possible to log in as root temporarily while you are logged in with your normal User ID.

  1. Log in to your dedicated server with your regular user account.
  2. Type:
    su -
  3. Enter your root password. Your root password is the same as the password for your normal User ID.

To Modify the sshd_config File to Permit Root Access

  1. Log in to your dedicated server and switch to root using the su - command.
  2. Edit the following file: /etc/ssh/sshd_config.
  3. Open the file in an editor and locate the following line: PermitRootLogin no.
  4. Update the line to read: PermitRootLogin yes.
  5. Save the file and restart SSH by typing: /etc/init.d/sshd restart.
Domain Registration Domain Registration
Pay less for website domain names. Register your own .com, .net or .org for as low as $10.00 per year. (Plus ICANN fee of 18¢ per domain.) A free Email Account is included.
Website Hosting Website Tonight
For as little as $3.89 per month you can build your Website online with Website Tonight using our easy to use professional templates.
Play Video - Demo
Shopping Cart Software Quick Shopping Cart
Build and run your own successful online store in minutes! You're just five easy steps away!
Play Video
Website Hosting Website Hosting
Everything you need to give your Website the high-performance home it deserves!  Protect transactions and customer data with a
SSL Certificate