From owner-freebsd-questions@FreeBSD.ORG Thu Oct 23 15:02:42 2008 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 4BE2510656A0 for ; Thu, 23 Oct 2008 15:02:42 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 101C18FC20 for ; Thu, 23 Oct 2008 15:02:41 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id m9NExLvm081770; Thu, 23 Oct 2008 10:59:21 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id m9NExK0h081769; Thu, 23 Oct 2008 10:59:20 -0400 (EDT) (envelope-from jerrymc) Date: Thu, 23 Oct 2008 10:59:19 -0400 From: Jerry McAllister To: Benjamin Lee Message-ID: <20081023145919.GB81643@gizmo.acns.msu.edu> References: <27ade5280810221955l6bb7fe23u504b008e6799fc57@mail.gmail.com> <48FFEEAA.4060600@b1c1l1.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48FFEEAA.4060600@b1c1l1.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org, APseudoUtopia Subject: Re: Locked out of Root 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: Thu, 23 Oct 2008 15:02:42 -0000 On Wed, Oct 22, 2008 at 08:25:30PM -0700, Benjamin Lee wrote: > On 10/22/08 19:55, APseudoUtopia wrote: > > Hey, > > > > I have one user (other than root and the other system users) on my > > box, and that user is _NOT_ in the wheel group. I also have root > > logins disabled via SSH. This is a remote server and all I have is SSH > > access. > > > > Is there any way that I can gain root? I know the root password and > > everything, but I just can't get to it. The user is not in the wheel > > group, and root login is disabled in SSH. > > > > Thanks for any help/advice. > > Login as the unprivileged user and run: > > $ su > > See su(1). > On FreeBSD, unless it is reconfigured differently, the non-root user must be in the wheel group to su to root. Changing that configuration requires root as does putting the user in the wheel group. ////jerry > > -- > Benjamin Lee >