ISSUE: sudo: unable to resolve host

Home Forums Operating Systems Linux ISSUE: sudo: unable to resolve host

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #980
    Voodoo
    Keymaster

    This issue usually comes about when you changed the name of the Linux machine. To make sure that your machine name is correct, just verify it in the hostname file:

    sudo nano /etc/hostname

    Now that you have verified the computer’s name in the hostname file, ensure that it is correct in the hosts file:

    sudo nano /etc/hosts

    With both of those corrected, you should no longer get that error.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar