I have created a new user "hadoopuser".
I have logged out and logged in as hadoopuser.
Now I am trying to edit hostname, but I am getting error.
hadoopuser@ubuntu:~$ sudo gedit /etc/hostname
[sudo] password for hadoopuser:
hadoopuser is not in the sudoers file. This incident will be reported.
Kindly suggest how to change my hostname. I am new to ubuntu