From owner-freebsd-questions@FreeBSD.ORG Sat Nov 27 17:32:25 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBA45106564A for ; Sat, 27 Nov 2010 17:32:25 +0000 (UTC) (envelope-from dave@g8kbv.demon.co.uk) Received: from anchor-post-3.mail.demon.net (anchor-post-3.mail.demon.net [195.173.77.134]) by mx1.freebsd.org (Postfix) with ESMTP id B2D838FC16 for ; Sat, 27 Nov 2010 17:32:25 +0000 (UTC) Received: from [212.225.127.64] (helo=[192.168.33.1]) by anchor-post-3.mail.demon.net with esmtpa (AUTH g8kbv) (Exim 4.69) id 1PMOdM-0002CX-oW for freebsd-questions@freebsd.org; Sat, 27 Nov 2010 17:32:24 +0000 From: "Dave" To: FreeBSD Mailing List Date: Sat, 27 Nov 2010 17:32:24 -0000 MIME-Version: 1.0 Message-ID: <4CF140A8.18245.19F13A4@dave.g8kbv.demon.co.uk> Priority: normal In-reply-to: References: <20101125230217.GA25485@thought.org>, <4CF1395D.27634.1829768@dave.g8kbv.demon.co.uk>, X-mailer: Pegasus Mail for Windows (4.52) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: Re: next question.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Nov 2010 17:32:26 -0000 On 27 Nov 2010 at 12:06, Chris Brennan wrote: > On Sat, Nov 27, 2010 at 12:01 PM, Dave 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.