Linux (28) Python (13) Raspberry Pi (5) Bugs (3) Install (3) C (2) Brainf**k (1) HTML (1) Maths (1) Sorts (1)

Thursday, 22 June 2017

How to add a user to the sudo group

Sometimes you need to be able to run commands or programs with elevated privileges, to do this the user needs to be in the sudo group.

To add them to the group run the following command as root or with a account with sudo access:
sudo usermod -aG sudo "username"
They should now be able to run commands with elevated privileges.