crudlet.org

Home > Unable To > Sudo Unable To Resolve Host Name

Sudo Unable To Resolve Host Name

Contents

Loading... Make sure you know what your hostname is by running cat /etc/hostname. Is it possible to have 3 real numbers that have both their sum and product equal to 1? Then you have to edit the hostname in /etc/hosts file. http://crudlet.org/unable-to/sudo-unable-to-resolve-host-none.html

sudo error-handling share|improve this question edited Apr 13 '14 at 5:18 Radu Rădeanu 81.5k25181265 asked Aug 31 '11 at 19:09 Kit Sunde 2,48651525 1 Please post the contents of /etc/hostname Thanks! It outputs "sudo:unable to resolve host Lily-desktop"(here assume current host-name is Lily-desktop), however the commands work as well as before. sudo doesn't work, sir. http://askubuntu.com/questions/59458/error-message-when-i-run-sudo-unable-to-resolve-host-none

Sudo Unable To Resolve Host Debian

I solved it editing /etc/hosts file. Difference between \the, \showthe and \show commands? UbuntuCommunityAsk!DeveloperDesignDiscourseHardwareInsightsJujuShopMore ›AppsHelpForumLaunchpadMAASCanonical current community chat Ask Ubuntu Ask Ubuntu Meta your communities Sign up or log in to customize your list. Sign in to report inappropriate content.

If not, the problem is the host configuration, not sudo. Use sudoedit (or sudo -e). Is it possible to have 3 real numbers that have both their sum and product equal to 1? Sudo Unable To Resolve Host Raspberry Pi Re: sudo: unable to resolve host Originally Posted by czaravm i tried to ping ubuntu, but that returned "unknown host ubuntu".

sudo has gone, there is no longer sudo. Sudo Unable To Resolve Host Windows 10 Bash sudo works, but when I sudo I get a warning: sudo: unable to resolve host webserver Anyone know why? Reply Log In to Comment 0 Aspmon November 4, 2014 You may add your domain name to your /etc/hosts like this [email protected]:~$ cat /etc/hosts 127.0.0.1 knguyen Reply Log In to Comment https://ubuntuforums.org/showthread.php?t=1754106 Solve: Edit /etc/hosts: gksudo gedit /etc/hosts make it looks like (change boldfaced words to current host-name): 127.0.0.1 localhost 127.0.1.1 Lily-desktop # The following lines are desirable for IPv6 capable hosts ::1

Yan S. Unable To Resolve Host Android asked 7 months ago viewed 972 times active 7 months ago Blog Stack Overflow Gives Back 2016 Developers, Webmasters, and Ninjas: What’s in a Job Title? Output integers in negative order, increase the maximum integer everytime Did Donald Trump say that "global warming was a hoax invented by the Chinese"? Watch Queue Queue __count__/__total__ Find out whyClose sudo : unable to resolve host [ hosts , hostname ] TheRegRunner SubscribeSubscribedUnsubscribe11,13011K Loading...

Sudo Unable To Resolve Host Windows 10 Bash

Registered Linux User #390769 Registered Ubuntu user #9335 Adv Reply May 10th, 2011 #10 czaravm View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date May 2011 Source I didn't see it on the issues here in a search or perusing the pages, sorry if it's a duplicate. Sudo Unable To Resolve Host Debian My hostname was "staging_1". Sudo Unable To Resolve Host Connection Timed Out Why does a (D)DoS attack slow down the CPU and crash a server?

sudo command DOESN'T WORK. Check This Out asked 5 years ago viewed 420006 times active today Blog Stack Overflow Gives Back 2016 Developers, Webmasters, and Ninjas: What’s in a Job Title? and for my /etc/hosts file, what exactly do you want me to change? There you will find a name in the second line. Sudo Unable To Resolve Host Windows Bash

File does not exist. share|improve this answer answered Apr 28 at 19:39 Jeff Schaller 11.6k62241 You'll also want to look at (for example) /etc/hostname and any other network configuration files (/etc/sysconfig/network on RHEL) It should be possible to add an extra command post install if detected. http://crudlet.org/unable-to/sudo-unable-to-resolve-host.html obetus said, in January 25th, 2013 at 8:52 am I followed your instruction but it doesn't resolved.

Easytechstudios 1,000 views 1:25 unable to resolve hostname error in lubuntu - Duration: 1:31. Unable To Resolve Host Linux Sign in Transcript Statistics 5,369 views 21 Like this video? Thank you! –clayzermk1 Apr 10 '15 at 17:35 1 This was the answer that helped me.

If you are unfamiliar with linux it might be confusing figuring out how to edit this file so here is a step by step guide.

So you can enter same hostname into the /etc/hostname and /etc/hosts. What caused my meringue to fall after adding cocoa? share|improve this answer answered Aug 24 at 15:07 ken scharf 1 1 The root password in Ubuntu is not the same password for sudo. Windows 10 Bash Unable To Resolve Host Navigate to an empty row with your arrow keys and hit the i key to enter insert mode.

Reload to refresh your session. Advertisement Autoplay When autoplay is enabled, a suggested video will automatically play next. sudo doesn't work sudo: unable to resolve host ... –Green Jul 12 at 20:02 add a comment| up vote 0 down vote if you can't sudo you CAN log in as http://crudlet.org/unable-to/sudo-unable-to-resolve-host-ip.html share|improve this answer edited Jun 18 at 13:46 answered Jun 18 at 13:19 Sourabh 11 What are you talking about?

My terminal looks like this: ubuntu@(none):~$ sudo true sudo: unable to resolve host (none) What can I do to solve it? Adv Reply May 10th, 2011 #6 czaravm View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date May 2011 Beans 10 Re: sudo: unable to resolve host I solved it by editing the /etc/hosts and /etc/hostname files... Loading...

I think that I will just have to reinstall ubuntu from the wubi installer. y Setting up bcm5974-dkms (1.1.4) ... Sign in to make your opinion count. share|improve this answer edited 11 hours ago Thomas Ward♦ 28.2k1676126 answered Sep 1 '11 at 3:26 Jeremy Kerr 12.4k13154 19 The hostname will not change until you reboot.

ip address-hostname & dns server.ubuntu 10.10 - Duration: 15:18. You previously marked this answer as accepted. then give the root password when prompted, then you can edit the files with nano. How can you suggest solution that uses sudo?

Border