Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Apr 2006 15:52:55 +0200
From:      albi <albi@scii.nl>
To:        eoghan <freebsd@redry.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: sudo port
Message-ID:  <44439DB7.7040901@scii.nl>
In-Reply-To: <44439C8E.4030006@redry.net>
References:  <44439C8E.4030006@redry.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44439DB7.7040901>