From owner-freebsd-questions@FreeBSD.ORG Sat Nov 6 17:32:45 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B3D716A4CE for ; Sat, 6 Nov 2004 17:32:45 +0000 (GMT) Received: from catflap.slightlystrange.org (cpc2-cmbg1-3-0-cust94.cmbg.cable.ntl.com [213.107.104.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id B603643D2F for ; Sat, 6 Nov 2004 17:32:43 +0000 (GMT) (envelope-from danielby@slightlystrange.org) Received: from danielby by catflap.slightlystrange.org with local (Exim 4.43 (FreeBSD)) id 1CQUQc-0008Ub-C6 for freebsd-questions@freebsd.org; Sat, 06 Nov 2004 17:32:42 +0000 Date: Sat, 6 Nov 2004 17:32:42 +0000 From: Daniel Bye To: freebsd-questions@freebsd.org Message-ID: <20041106173242.GA24055@catflap.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Subject: Re: su: Sorry - 5.2.1 - X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Nov 2004 17:32:45 -0000 On Sat, Nov 06, 2004 at 11:23:44AM -0600, Gable Barber wrote: > $ su > su: Sorry > $ In BSD, you need to be a member of group `wheel' to use su. Login as root, and edit the /etc/group file to add your username to wheel. Alternatively, use the pw command. Something like this should work: # ps user mod -Gwheel > The FAQ says to post this first : > > $ uname -a > FreeBSD tcb.garagemoderne.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: > Mon Feb 23 20:45:55 GMT 2004 > root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 > $ > > > And I cant SSH in as root. I am VERY new to FreeBSD, and am lost. I > have been using Linux (RH9/Fedora) for awhile, so I understand some > basics, but I cannot figure this one out. The default behaviour of SSH in FreeBSD is to not allow remote root login. If you really must allow root login, edit /etc/ssh/sshd_config and add a line PermitRootLogin yes If you do this, I suggest you disable password authentication and use public key authentication instead. HTH Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \