From owner-freebsd-questions@FreeBSD.ORG Mon Apr 17 13:56:36 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 E308916A400 for ; Mon, 17 Apr 2006 13:56:36 +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 7858E43D46 for ; Mon, 17 Apr 2006 13:56:36 +0000 (GMT) (envelope-from freebsd@redry.net) Received: (qmail 93344 invoked by uid 89); 17 Apr 2006 23:56:36 +1000 Received: from unknown (HELO ?192.168.1.34?) (eoghan@redry.net@213.202.187.243) by 0 with SMTP; 17 Apr 2006 23:56:35 +1000 Message-ID: <44439E8D.2020902@redry.net> Date: Mon, 17 Apr 2006 14:56:29 +0100 From: eoghan User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: albi References: <44439C8E.4030006@redry.net> <44439DB7.7040901@scii.nl> In-Reply-To: <44439DB7.7040901@scii.nl> 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 13:56:37 -0000 albi wrote: > eoghan wrote: > >> I have installed sudo from ports, and the docs say that the allowed list >> of users is located in: >> /etc/sudoers >> 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? > > as root you should do : visudo > (if you don't like vi, then do e.g. export EDITOR=nano > if you prefer nano) > > you should try to use visudo because it helps you to prevent making > syntax-errors which can save you a few grey hairs > > (and try : pkg_info -L sudo* and discover it's in /usr/local/etc :-) ah ok, thanks for that. Found it and edited! Eoghan