Ubuntu - Users - Specifying Explicit User Privileges in /etc/sudoers

sudo visudo

/etc/sudoers
root    ALL=(ALL:ALL) ALL
john    ALL=(ALL:ALL) ALL

To save the file, press CTRL-X, followed by Y, and then ENTER to confirm.