changed hostname without changing hosts - now sudo won't work
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.
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.
Tags for this Thread