- Open a Root Terminal. (Open a terminal then run ¨su¨ command.)
- Run ¨visudo¨ command. (This is the only way to add a user to the sudoers list.)
- Using the up/down arrows, go to the line that looks like the following: root ALL=(ALL) ALL
- Then, add the following line: name_of_user ALL=(ALL) ALL
- Press Ctrl+X and press Y when promted to save.
Adding a user to the sudoers list: