Running sudo commands from cPanel's built-in Terminal

Hello! Hopefully this question isn’t redundant – I tried a few search terms and wasn’t able to find something that seemed to quite answer the question. How can I use sudo commands from the built-in Terminal in cPanel? Whenever I try, it says I am not a sudoer.

Thanks in advance for any help!

Hi there,

I do see that you submitted a ticket shortly after posting this, but this is a common question we get and it will be good to have this publicly available. Apologies for resurrecting an old thread!

sudo is a UNIX/Linux command that allows a user to run commands as the super user, root, or other restricted users. For security reasons, standard user accounts on servers are not given the ability to use the sudo command. If sudo is a necessity to run or install something in a shared hosting environment, chances are you will not be able to install it. However, our new cloud platform, Reclaim Cloud, offers isolated environments where you can spin up all sorts of applications with root access for yourself and no threat of impacting anyone else’s environments!

1 Like