sudo problem/question

Tom H tomh0665 at gmail.com
Mon Apr 12 05:24:09 UTC 2010


On Sun, Apr 11, 2010 at 11:46 PM, Kipton Moravec <kip at kdream.com> wrote:
> When I try to use sudo on one of my 8.04 Ubuntu computers I get the
> message
>
> sudo: unable to resolve host violet
>
> It then asks for the password.
>
> The prompt is kip at violet:
>
> So part of the machine knows it is violet.
> violet is the name of the machine in the System -> Network -> General
> (Tab) -> Host Name: field.
>
> How do I fix it so the warning does not appear?
>
> I tried adding an alias in the hosts as it had
>
> 127.0.0.1 localhost violet.Workgroup
>
> so I changed it to
>
> 127.0.0.1 localhost violet.Workgroup violet
>
> but that did not fix it.

Please post
cat /etc/hostname
cat /etc/hosts




More information about the ubuntu-users mailing list