error205: the user does not have permission to use sudo

  • Posted on March 16, 2024
  • VPN
  • AntonCoralAsked by Anton

I want to connect my droplet via amnezia app. I use serverIP / root login / password. The result is always: error205 the user does not have permission to use sudo

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
March 17, 2024


The error message “error205: the user does not have permission to use sudo” indicates that the user account you’re using doesn’t have the necessary privileges to execute commands with sudo, which elevates permissions to the root level. Here are a few things that you can check in order to get more information on what might be going on:

  1. Since you mentioned using the root login, ensure that you are indeed logging in as the root user. The root user should have all permissions and should not encounter this error. Double-check the credentials and ensure you’re using the root account.

  2. If you need to use a non-root user, you can grant sudo privileges to the user. You’ll need to access the server as root or another user with sudo privileges to do this. Once logged in, you can modify the sudoers file to grant the necessary permissions.

    a. Log in to the server as root or another sudo user.

    b. Open the sudoers file with an editor like visudo to ensure syntax correctness:


    c. Add the following line to grant sudo privileges to the user (replace username with the actual username):

    username ALL=(ALL) NOPASSWD:ALL

    This line allows the user to execute any command as any user without a password prompt.

  3. Ensure that the application you’re using is configured to log in with the correct user. If it’s set to use a non-root user, that user must have the necessary sudo permissions.

  4. Make sure the user you’re trying to use actually exists on the system. You can check this by listing the users:

    cat /etc/passwd

If the user is already in the sudoers file but still facing issues, there might be specific command restrictions in place. Check the sudoers file for any such restrictions.

Let me knwo how it goes!



Site Moderator
Site Moderator badge
March 16, 2024

Heya @antoncoral,

What command are you trying to use? I would assume the user on the amnezia app does not have sudo privileges.

My best advice would be to try and connect to your Droplet without using sudo it should still work.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel