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

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



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