Results 1 to 2 of 2

Thread: changed hostname without changing hosts - now sudo won't work

  1. #1
    Join Date
    Nov 2009
    Beans
    3

    changed hostname without changing hosts - now sudo won't work

    Hi Everyone,

    Real newbie mistake: I changed /etc/hostname, because I didn't like the default name. Didn't know that I needed to change /etc/hosts as well so now every time I try to use sudo I get the this message: "sudo: unable to resolve host [name]" so I can't fix it.

    Wondering what my options are.

    Thanks,
    Joel

  2. #2
    Join Date
    Nov 2009
    Beans
    3

    Re: changed hostname without changing hosts - now sudo won't work

    Sorry, thought the message meant it wasn't working. Turns out sudo still works so I can fix my hosts file. Sorry for wasting your time.

    Joel

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •