sudo doesn't work

Florian Diesch diesch at spamfence.net
Sat Jul 8 02:24:22 UTC 2006


"Ian Kabeary" <omega21 at gmail.com> wrote:

> I get this when I try to use any command.
> Any ideas?
> sudo: unable to lookup  via gethostbyname()

It seems that you somehow got your hostname to be empty.

/etc/hostname should contain your hostname (and nothing else). If it
doesn't modify it und run
 sudo /etc/init.d/hostname.sh start




   Florian
-- 
<http://www.florian-diesch.de/>




More information about the ubuntu-users mailing list