Matthew Seaman wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Chris Whitehouse wrote:
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
Ashish Shukla आशीष शुक्ल wrote:
On Sat, 19 Jan 2008 23:40:35 +, Chris Whitehouse [EMAIL PROTECTED] said:
Chris I think my question really is why doesn't sudoers recognise localhost
Chris or 127.0.0.1?
And, BtW, while enumerating network interfaces, it skips those
interfaces
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
--
Ashish Shukla आशीष शुक्ल
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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Chris Whitehouse wrote:
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
On Sat, 19 Jan 2008 23:40:35 +, Chris Whitehouse [EMAIL PROTECTED]
said:
Chris I think my question really is why doesn't sudoers recognise localhost
Chris or 127.0.0.1?
Quoting from sudo.c of sudo-1.6.8p12 in init_vars(int) routine:
88
/*
* We avoid
On Sat, 19 Jan 2008 23:40:35 +, Chris Whitehouse [EMAIL PROTECTED]
said:
Chris I think my question really is why doesn't sudoers recognise localhost
Chris or 127.0.0.1?
And, BtW, while enumerating network interfaces, it skips those
interfaces which're DOWN or LOOPBACK. If you've