Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Nov 2010 09:50:42 +0000
From:      Chris Rees <utisoft@gmail.com>
To:        paul@pcartwright.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: next question....
Message-ID:  <AANLkTi=BeimSEj1XfHJYPKDBvDttBu49rQ4uv4uVBy-p@mail.gmail.com>
In-Reply-To: <4CF13BE0.5000503@pcartwright.com>
References:  <20101125230217.GA25485@thought.org> <4CEFA3DD.9090106@qeng-ho.org> <4CF1395D.27634.1829768@dave.g8kbv.demon.co.uk> <AANLkTik3PaTCmq%2B-KJL4b7%2B=v44Q-FPw_jTbHgmkDU3o@mail.gmail.com> <4CF13BE0.5000503@pcartwright.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 27 November 2010 17:12, Paul Cartwright <paul@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....



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=BeimSEj1XfHJYPKDBvDttBu49rQ4uv4uVBy-p>