Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Nov 2010 17:32:24 -0000
From:      "Dave" <dave@g8kbv.demon.co.uk>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: next question....
Message-ID:  <4CF140A8.18245.19F13A4@dave.g8kbv.demon.co.uk>
In-Reply-To: <AANLkTik3PaTCmq%2B-KJL4b7%2B=v44Q-FPw_jTbHgmkDU3o@mail.gmail.com>
References:  <20101125230217.GA25485@thought.org>, <4CF1395D.27634.1829768@dave.g8kbv.demon.co.uk>, <AANLkTik3PaTCmq%2B-KJL4b7%2B=v44Q-FPw_jTbHgmkDU3o@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 27 Nov 2010 at 12:06, Chris Brennan wrote:


> 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)
> 

That was quick!

Thanks Chris.

That user now part of the 'wheel' group, and 'su' now works.  I'll also 
remove the ability of root to login remotely.

Many thanks again.

Dave B.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CF140A8.18245.19F13A4>