Do not do this on a production server. It is not a good practice.
You need to have root access to do that. So the first step to become root with the following command:
Now you can add a username to the list. For example:
ken ALL=(ALL) ALL
Save the file to complete the process.
Credit: Ubuntu Forum