[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#473828: hosts: Unreasonable impact of misconfigured /etc/hosts file



On 01-Apr-08, 16:13 (CDT), Ulrik Sverdrup <ulrik.sverdrup@gmail.com> wrote: 
> Package: general
> Severity: normal
> 
> The impact of a misconfigured /etc/hosts file can be quite grave.
> 
> Prime example: If the hostname is not in /etc/hosts, sudo does not run
> which means that the problem can not be resolved without direct root
> login or single user mode. See also bug #473827

I can't duplicate this, on a up to date lenny system. Even
commenting-out all the IP4 addresses didn't cause a problem.

Removing /etc/hostname *and* /etc/resolv.conf causes:

$ sudo -s
sudo: unable to resolve host orca
root@orca:~#

But it still works.

Steve
-- 
Steve Greenland
    The irony is that Bill Gates claims to be making a stable operating
    system and Linus Torvalds claims to be trying to take over the
    world.       -- seen on the net



Reply to: