- **Epistemic status:** #seedlings To grant a user `sudo` privileges in [[Linux]] you will need to add them to the `sudo` group. Log into the system as a **root** user or an account with **sudo** privileges first. The second step is to enter the following command, replacing `<username>` with the username you want to grant these privileges: ```bash sudo usermod -aG sudo <username> ``` You can then type `exit` and log in as your user. --- ## References - Knowledge Base by phoenixNAP. “How to Add User to Sudoers or Sudo Group on Ubuntu,” March 19, 2019. <https://phoenixnap.com/kb/how-to-create-sudo-user-on-ubuntu>.