From owner-freebsd-questions@FreeBSD.ORG Mon Apr 17 14:03:42 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19D1E16A400 for ; Mon, 17 Apr 2006 14:03:42 +0000 (UTC) (envelope-from freebsd@redry.net) Received: from luke.segpub.com.au (luke.segpub.com.au [64.49.254.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2FC643D48 for ; Mon, 17 Apr 2006 14:03:41 +0000 (GMT) (envelope-from freebsd@redry.net) Received: (qmail 5364 invoked by uid 89); 18 Apr 2006 00:03:40 +1000 Received: from unknown (HELO ?192.168.1.34?) (eoghan@redry.net@213.202.187.243) by 0 with SMTP; 18 Apr 2006 00:03:40 +1000 Message-ID: <4443A035.6060105@redry.net> Date: Mon, 17 Apr 2006 15:03:33 +0100 From: eoghan User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: Fabian Keil References: <44439C8E.4030006@redry.net> <20060417155934.216385ba@localhost> In-Reply-To: <20060417155934.216385ba@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: sudo port 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: Mon, 17 Apr 2006 14:03:42 -0000 Fabian Keil wrote: > eoghan wrote: > >> I have installed sudo from ports, and the docs say that the allowed list >> of users is located in: >> /etc/sudoers > > Docs coming with the port or docs on the web? I checked here: http://www.freshports.org/security/sudo/ Commit history suggested to me it was in /etc/ >> However i cannot locate this file in /etc/ or anywhere else for that >> matter. What file or where do i need to add a list of authorized users? > > /usr/local/etc/sudoers. > > IIRC it doesn't exist by default, but you can copy from sudoers.default > and sudoers.sample in the same directory. Yep, thanks Fabian. I have got it working now. I need to learn grep more. Thanks Eoghan