File location:
/etc/sudoers
Special command to edit the file:
visudo
Find this:
## Allow root to run any commands anywhere root ALL=(ALL) ALL
Add this:
[username] ALL=(ALL) ALL
Done.
Switch user:
sudo [username]
File location:
/etc/sudoers
Special command to edit the file:
visudo
Find this:
## Allow root to run any commands anywhere root ALL=(ALL) ALL
Add this:
[username] ALL=(ALL) ALL
Done.
Switch user:
sudo [username]