Root Access and How to Obtain It

Gaining root access to your server can be a bigger deal then you may think. It does give you ultimate access to everything regarding your server, in both WHM and via SSH as well. Please keep in mind that you may not need root access to perform your everyday activities. This article requires you to already have VPS (unmanaged or cPanel VPS) or Dedicated servers plan. To make sure you are on the correct plan you may find out what server you are on.

What is Root Access?

If you’re familiar with managing a Windows server or PC, you know then that the Administrator can edit any files on the server and perform any tasks necessary. Linux operating systems have a similar administrative, or “superuser,” account, but it is named “root” instead of “administrator”, because it provides access to the server root directory (“/“) and thus all of the directories and files.

The root user on the server can do much more than the standard user. The root user can perform various tasks that other users cannot, such as:

  • Install server-wide applications
  • Configure server wide applications, such as Apache or MySQL
  • Edit any file on the server

Full root access is not given by default on VPS or dedicated hosting accounts. Because the root user can do anything they want, the level of support we can offer varies slightly for accounts that have root access. Because of this, we require users to accept our root access disclosure before we allow root privileges to their servers. But don’t let this discourage you. A VPS with root access can be all yours, as long as you know what you’re doing.

Should I Request Root Access?

With root permissions, you can perform just about any action that you want on a server. While this is very useful, running the wrong command as root could cause major problems. One simple command can wipe out your entire server.

We recommend only requesting root permission if you have previous experience with it and you are comfortable with using it. If you’ve never used root access or are not confident with running commands as root, we don’t recommend gaining root access to your server. If you’re not ready for root access but you need it, please contact our support department for further assistance. Our system administration team can help you with many of the tasks that require root permission.

Due to the potential risks associated with it, WHM root access should only be given to those who absolutely need it. If someone with malicious intentions were to gain root access to your server, they could wreak havoc on your system, causing irreparable damage. Even if you have a trusted individual who needs root access, there is always the potential for human error. Therefore, it is best to err on the side of caution and only grant root access to those who absolutely need it.

Support and Root Access

If you have root access to your server, you can still contact our support team at any time if you need assistance. The problem that arises however is that if you have root access we may not be able to easily undo / fix any issues that exist due to actions you’ve taken as the root user. Additional charges may apply for our system administration team to troubleshoot a server you have access to.

How to Request Root Access

  1. Log into your AMP.
  2. Find the icon for Request Root Access and click on it.

    Dedicated Hosting Root Access Request
  3. Read through the agreement prior to checking the box stating you understand the responsibilities of having root access. Click the button for your root password.

    Request Root Password for Dedicated Hosting Server
  4. After a few seconds you will see your new root password below where the buttons are.

    View of Root password on Dedicated Hosting

How to Reset Your Root Password

  1. Log into your AMP.
  2. Find the icon for Change Root password and click on it.
  3. Click Reset password and your new root password will be shown below the button.

Root Access Tasks

Below is a collection of our articles that demonstrates some of the things that you can accomplish when you already have root access on your server.

You should now have a good understanding of what you can do with your newly granted root access to your server.

Change To The Root User

As you may already know, you can log into your server’s command line with the default cPanel user. If you want to assume the root user role, provided you have already obtained root access, you can do so with the su command:

su root

You will be prompted to provide the root user password. If you entered the password correctly, you will see that your command prompt now reflects that you have assumed the root user. You can exit the root user by typing exit.

Get better performance and security with our VPS Hosting.

Accessing the cPanel Root User

If you need root access to various cPanel features, you will want to check out the full guide on how to log into WebHost Manager (WHM).


As you can see, root access to your server comes with a lot of benefits but also some risks. It’s important that you are aware of these risks and take the necessary precautions to protect your data and system. And if you ever have any questions or concerns, our team of experts is here to help. We want to make sure that you have everything you need to get the most out of your hosting experience, so never hesitate to reach out for assistance. Thanks for reading!

RH
Ronnie H Content Writer I

Ronnie is a technical writer and content specialist at InMotion Hosting.

More Articles by Ronnie

20 Comments

    • Hello, Mohammed! Sorry that you’re having trouble finding the Request Root Access button. Just to confirm, do you have a VPS or Dedicated hosting plan? The button would not be available on Shared or Reseller plans.

    • You may request to revoke your root access, but the Systems team would need to do a platform reset. This generally costs about $120 USD.

  • Hello, is it possible to give SSH root access to a user?  If yes, can the user still uses cPanel to log in? – I heard root users cannot use cPanel directly but only WHM.  

    Also, do you still provide normal support for initial software, cPanel/WHM etc. after root access is granted?  

    Thanks, Lorie

    • Hello Lorie,

      Thanks for the question about root user. There is only ONE root user in our installations. See the cPanel Support Community post on this same question for more information. Root users can access any cPanel in WHM (just click on List Accounts, then select the cPanel they want to view).

      Also, do you still provide normal support for initial software, cPanel/WHM etc. after root access is granted?

      Yes and no. If you have root access to your server, you can still contact our Support Team at any time if you need assistance. The problem that arises however is that if you have root access we may not be able to easily undo / fix any issues that exist due to actions you’ve taken as the root user. Additional charges may apply for our System Administration team to troubleshoot a server you have access to.

      I hope this helps to answer your question, please let us know if you require any further assistance.

      Regards,
      Arnel C.

    • I’m on a “Launch” plan (AFAIK not a VPS or Dedicated?) and don’t see the icon in the AMP. What am I missing?

    • Hello Shoany,

      This feature is only available for VPS/Dedicated hosting plans as we can not give out root access on a shared hosting server.

      Best Regards,
      TJ Edens

Was this article helpful? Let us know!