Hi guys

Everytime i use sudo in the terminal i get
"sudo: unable to resolve host legacy"

I had a look at /etc/hosts file, all i have is this

127.0.0.1 localhost

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

Any other suggestions?

heh
I sorted the problem out
in the /etc/hosts file i added
127.0.0.1 Legacy
Now problem is sorted out :-)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.