For this example i will create a user account called newuser – this will need to be replaced by whatever you want your account to be called.
Create new user account: sudo adduser newuser
Enter and confirm a password and complete the Information if necessary:
Add the account to the sudo group: sudo usermod -aG sudo newuser
To switch to this account to use it or test permissions: su – newuser
Enter your password
To test this, i tried to modify a file
cd /etc/network
nano interfaces
Try to make a change and it fails due to permissions
Repeat the process using sudo nano interfaces
This should work