sudo port

eoghan freebsd at redry.net
Mon Apr 17 14:03:42 UTC 2006


Fabian Keil wrote:
> eoghan <freebsd at redry.net> wrote:
> 
>> I have installed sudo from ports, and the docs say that the allowed list 
>> of users is located in:
>> /etc/sudoers
> 
> Docs coming with the port or docs on the web?

I checked here:
http://www.freshports.org/security/sudo/
Commit history suggested to me it was in /etc/

>> 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?
> 
> /usr/local/etc/sudoers.
> 
> IIRC it doesn't exist by default, but you can copy from sudoers.default
> and sudoers.sample in the same directory.

Yep, thanks Fabian. I have got it working now. I need to learn grep more.
Thanks
Eoghan


More information about the freebsd-questions mailing list