Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Nov 2010 12:06:45 -0500
From:      Chris Brennan <xaero@xaerolimit.net>
To:        Dave <dave@g8kbv.demon.co.uk>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: next question....
Message-ID:  <AANLkTik3PaTCmq%2B-KJL4b7%2B=v44Q-FPw_jTbHgmkDU3o@mail.gmail.com>
In-Reply-To: <4CF1395D.27634.1829768@dave.g8kbv.demon.co.uk>
References:  <20101125230217.GA25485@thought.org> <4CEFA3DD.9090106@qeng-ho.org> <4CF1395D.27634.1829768@dave.g8kbv.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 27, 2010 at 12:01 PM, Dave <dave@g8kbv.demon.co.uk> wrote:

> $ su
> su: Sorry
> $ sudo
> sudo: not found
> $ uname -a
> FreeBSD FBSD.67MK181QZ 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Wed Apr 14
> 22:55:09 BST 2010
> root@FBSD.67MK181QZ:/usr/obj/usr/src/sys/PPSGENERIC  i386
> $
> $
>
>

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.

When su'ing, pass 'su -' (assumes the path of the user your changing to).

When sudo'ing, pass 'sudo su -' (same principle applies, but you don't need
to to be in wheel to use this command)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTik3PaTCmq%2B-KJL4b7%2B=v44Q-FPw_jTbHgmkDU3o>