next question....

Chris Rees utisoft at gmail.com
Sun Nov 28 09:51:15 UTC 2010


On 27 November 2010 17:12, Paul Cartwright <paul at pcartwright.com> wrote:
> On 11/27/2010 12:06 PM, Chris Brennan wrote:
>> You need to add yourself to the 'wheel' group to su or you need to add the
>> proper line to /usr/local/etc/sudoers to sudo correctly.
>>
> no sudoers on my system:
> $ cd /usr/local/etc
> $ cd sudoers
> cd: can't cd to sudoers

Yeah, you need to install sudo:

# pkg_add -r sudo

Then use visudo as root to edit sudoers.

Do NOT edit sudoers without using visudo, you can lock yourself out if
you mess up the syntax (yes, the voice of experience)!

Chris

> --
> Paul Cartwright
> Registered Linux user # 367800
Hope you're enjoying the switch....


More information about the freebsd-questions mailing list