How to add user to sudoers list (Ubuntu)

As root:

#visudo

Put this line at the end (replace username with your username):
username ALL=(ALL) ALL

Ex:
# User privilege specification
root    ALL=(ALL) ALL
fred    ALL=(ALL) ALL

Discussion Area - Leave a Comment