From owner-freebsd-questions@FreeBSD.ORG Sun Jan 20 17:50:42 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8106616A468 for ; Sun, 20 Jan 2008 17:50:42 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from smtp1.bethere.co.uk (smtp1.betherenow.co.uk [87.194.0.68]) by mx1.freebsd.org (Postfix) with ESMTP id 53B2613C455 for ; Sun, 20 Jan 2008 17:50:42 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from [192.168.1.71] (87-194-3-32.bethere.co.uk [87.194.3.32]) by smtp1.bethere.co.uk (Postfix) with SMTP id 99322980D6 for ; Sun, 20 Jan 2008 17:50:41 +0000 (GMT) Message-ID: <479389F1.50207@onetel.com> Date: Sun, 20 Jan 2008 17:50:41 +0000 From: Chris Whitehouse User-Agent: Thunderbird 2.0.0.9 (X11/20071228) MIME-Version: 1.0 CC: freebsd-questions@freebsd.org References: <47924869.2000909@onetel.com> <877ii5fsh0.fsf@chateau.d.lf> <47928A73.2040904@onetel.com> <87tzl97z0y.fsf@chateau.d.lf> <87lk6l7xxo.fsf@chateau.d.lf> In-Reply-To: <87lk6l7xxo.fsf@chateau.d.lf> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: localhost in sudoers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2008 17:50:42 -0000 Ashish Shukla आशीष शुक्ल wrote: >>>>>> On Sat, 19 Jan 2008 23:40:35 +0000, Chris Whitehouse 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 more questions, the > quickest way is to checkout source code :) . Well once you had put the code snippet in front of me I was just about able to follow it but unfortunately my coding skills are just about zero, so thanks to all the people who answer questions on this list. Chris > > HTH