sudo port

albi albi at
Mon Apr 17 13:53:01 UTC 2006

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 | gpg --import

More information about the freebsd-questions mailing list