sudo port

eoghan freebsd at redry.net
Mon Apr 17 13:56:37 UTC 2006


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


More information about the freebsd-questions mailing list