When I wanted to execute
hadoopmaster@dhruvhadoop3-HP-Compaq-dc5800-Small-Form-Factor:~$ sudo gedit ~/.bashrc
It gave me the following error
sudo: unable to resolve host dhruvhadoop3-HP-Compaq-dc5800-Small-Form-Factor
[sudo] password for hadoopmaster:
hadoopmaster is not in the sudoers file. This incident will be reported.
gksudo
and friends to run graphical applications as super-user. See What is the difference between “gksudo nautilus” and “sudo nautilus”? – David Foerster Oct 18 '15 at 10:55pkexec
the replacement forgksudo
. – Marton Oct 18 '15 at 19:15