From owner-freebsd-questions@FreeBSD.ORG Mon Apr 17 13:53:01 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 AD12516A401 for ; Mon, 17 Apr 2006 13:53:01 +0000 (UTC) (envelope-from albi@scii.nl) Received: from post-23.mail.nl.demon.net (post-23.mail.nl.demon.net [194.159.73.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id A115F43D45 for ; Mon, 17 Apr 2006 13:53:00 +0000 (GMT) (envelope-from albi@scii.nl) Received: from aseed.demon.nl ([83.160.138.119]:13333) by post-23.mail.nl.demon.net with esmtp (Exim 4.51) id 1FVU9z-000IcV-K7; Mon, 17 Apr 2006 13:52:59 +0000 Received: from aseed.demon.nl (unknown [192.168.0.48]) by aseed.demon.nl (Postfix) with ESMTP id BBFD7581106; Mon, 17 Apr 2006 15:53:04 +0200 (CEST) Received: from assata.aseed.net (unknown [192.168.0.35]) by aseed.demon.nl (Postfix) with ESMTP id 8BA62581062; Mon, 17 Apr 2006 15:53:04 +0200 (CEST) Received: from http.aseed.net (unknown [192.168.0.50]) by assata.aseed.net (Postfix) with ESMTP id 5E5912A08B7; Mon, 17 Apr 2006 15:54:26 +0200 (CEST) Received: from [192.168.0.11] (217-19-30-147.dsl.cambrium.nl [217.19.30.147]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by http.aseed.net (Postfix) with ESMTP id B2DE258C6E4; Mon, 17 Apr 2006 15:53:03 +0200 (CEST) Message-ID: <44439DB7.7040901@scii.nl> Date: Mon, 17 Apr 2006 15:52:55 +0200 From: albi User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: eoghan References: <44439C8E.4030006@redry.net> In-Reply-To: <44439C8E.4030006@redry.net> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-AV-Checked: ClamAV using ClamSMTP 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:53:01 -0000 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 :-) -- grtjs, albi gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import