Unbuntu add root user - DefiantCoder/Tech-Journals GitHub Wiki

to add a user: adduser username usermod -aG sudo username

to test that you are sudoed

su username

sudo whoami

if the output is root you have succeeded