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:
Turn off display from Linux command line
Reboot Linux from the Command Line
Shut Down Linux from the Command Line
Useful Commands and Tweaks for a Linux Environment
Kupfer, a great Spotlight-like tool for Linux
Dell's XPS 13 Developer's Edition: My Missed Opportunity
Taking Webcam Photos Via the Command Line
Automatically Mount a Drive when Linux Boots
The Reason You Hate Other Operating Systems