problem with hostname

Fred Roller froller at tnclimited.com
Sat Jul 11 20:47:28 UTC 2009


On Thu, 2009-07-09 at 11:50 +0000, pkaplan1 at comcast.net wrote:
> >> <username>@(none):~$ sudo <command> 
> >> sudo: unable to resolve host 
> >> sudo: unable to resolve host 
> >> sudo: unable to resolve host 
> >> sudo: unable to resolve host 
> >> [sudo] password for <username>: 

Can you run:

echo $PS1

please and post.  It should look something like this:

froller at metis:~$ echo $PS1
\[\e]0;\u@\h: \W\a\]${debian_chroot:+($debian_chroot)}\u@\h:\W\$

Once more for GP do:

cat /etc/hostname

and post.
q



-- 
Fred R.
www.fwrgallery.com

"Life is like Linux, simple.  If you are fighting it, you are doing
something wrong."







More information about the ubuntu-users mailing list