Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jan 2008 23:40:35 +0000
From:      Chris Whitehouse <cwhiteh@onetel.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: localhost in sudoers
Message-ID:  <47928A73.2040904@onetel.com>
In-Reply-To: <877ii5fsh0.fsf@chateau.d.lf>
References:  <47924869.2000909@onetel.com> <877ii5fsh0.fsf@chateau.d.lf>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Ashish Shukla आशीष शुक्ल wrote:
>>>>>> Chris Whitehouse writes:
> 
>     Chris> The problem is this machine gets its ip address by dhcp so I shouldn't
>     Chris> enter an ip in sudoers. Is there a neat way round this?
> 
> Why not use hostname from DNS, instead, hmm...?
> 
> HTH

I'm not sure what you mean. This computer is on a local network behind a 
nat box and doesn't have a dns entry.

%host 192.168.1.71
71.1.168.192.in-addr.arpa domain name pointer eco.config.
%host localhost
localhost has address 127.0.0.1

I think my question really is why doesn't sudoers recognise localhost or 
127.0.0.1?

Chris



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?47928A73.2040904>