Erm, why not just have:

127.0.0.1 localhost.localdomain localhost myhostname
10.20.21.22 myhostname

like at http://www.faqs.org/docs/securing/chap9sec95.html

-- 
Missing hostname in /etc/hosts causes sudo to fail
https://bugs.launchpad.net/bugs/19775
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to