I am trying to set a super user for ubuntu. I am a newb so no idea why it installs vultr.com, the ubuntu 15 x64 and makes u a root user for the first time you enter to your server. Because when I installed ubuntu with visualbox, it created the account as super user.. Did not let me log in as root... I have heard that using root can be dangerous as you may accidentally delete files easily and such so i am advised to create a super user.
The problem is
i assign a new user and set a password, say its name is newsuperuser
after that i am told that I have to edit /etc/sudoers file and add a line such as
and this opens up the etc/sudoers file with your default text editor...
I added and saved this line
newsuperuser ALL=(ALL:ALL) ALL
in sudoers file and saved and quit. After that I rebooted the system because this was what it was told in a text in vultr.com.
When I sign in as a newsuperuser with its password i can sign in without a problem but when I try to use sudo command it actually executes the command but gives this error message too
sudo: unable to resolve host dontstarvetogether
Any help would be appreciated. Thank you very much.