Adding a user to sudoers file
"username is not in the sudoers file. This incident will be reported."
Aw. Well if you have root access, here's how to add your user to the sudoers file. This will allow you to simply use sudo instead of su and logging in as root.
su echo 'username ALL=(ALL) ALL' >> /etc/sudoers
The first command will ask you for the root password. The second command adds username to the sudoers file. Replace username with your actual username.
More posts that you might be interested in:
Force Skype for Linux to Use the Default Browser
Shut Down Linux from the Command Line
Search for a Program with the Command Line
Reboot Linux from the Command Line
Taking Webcam Photos Via the Command Line
Automatically Mount a Drive when Linux Boots
From Ubuntu to Arch Linux and everything in between
Turn off display from Linux command line
The Reason You Hate Other Operating Systems
Recording Internal Audio with Linux