Enable or disable sudo commands on a GoDaddy Linux VPS

Updated on March 7, 2026

By default, the admin user for your GoDaddy VPS is not permitted to run sudo commands. If you attempt to run a sudo command, you will get something like the following error:

user is not in the sudoers file. This incident will be reported.

You can enable sudo commands through your GoDaddy dashboard. You can also disable sudo commands for extra protection when no longer needed.

Instructions

  1. Sign into your GoDaddy account and go to your My Products page

    The direct link is https://account.godaddy.com/products

  2. Expand the Servers section and click Manage next to your VPS


    You will then be brought to the dashboard for your VPS.

  3. Click the Settings tab on top of the page


    GoDaddy VPS dashboard with the Settings menu selected for server configuration.

  4. Click the Manage button next to Admin access

    Screenshot of the GoDaddy VPS management dashboard showing the server access panel with options for managing login credentials and administrative access.

  5. Enable or disable admin access, and then click Save

    GoDaddy VPS settings screen showing the option to enable admin access for the server.

  6. Confirm the setting

    Connect to your server with SSH and attempt a sudo command.

References

License

Licensed under CC BY 4.0 You are free to share and adapt this content for any purpose as long as you give appropriate credit in a reasonable manner.

No affiliate links

We do not participate in affiliate marketing, and we are not paid to mention products.

Leave a Reply

Your email address will not be published. Required fields are marked *