next question....

Dave dave at g8kbv.demon.co.uk
Sat Nov 27 17:32:26 UTC 2010


On 27 Nov 2010 at 12:06, Chris Brennan wrote:


> On Sat, Nov 27, 2010 at 12:01 PM, Dave <dave at 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 at 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.



More information about the freebsd-questions mailing list