Skip to content

Give a user sudo (administrator) rights on Ubuntu — by ændrük on Ask Ubuntu

beginnerforumCC BY-SA (Stack Exchange; version depends on post date)

On Ubuntu, members of the sudo group can already use sudo, so you just add the user to that group instead of editing /etc/sudoers. The change takes effect at the user's next login.

Quick steps

  1. sudo adduser <username> sudo
  2. Log out and back in as that user

Paraphrased from the source. Menus can differ by version, so check the original for full details.

Read the full thread on askubuntu.com

Source: Give a user sudo (administrator) rights on Ubuntu by ændrük on Ask Ubuntu. Licence: CC BY-SA (Stack Exchange; version depends on post date).

Source reviewed
2026-11-02
Link checked
Not yet
Tested hands-on
Not by Oddbyte.Me

sudouserspermissionsadmin

More in Community Answers (Stack Exchange)