From owner-freebsd-questions@FreeBSD.ORG Thu Oct 23 15:09:47 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 DCC76106569C for ; Thu, 23 Oct 2008 15:09:47 +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 9FAE78FC16 for ; Thu, 23 Oct 2008 15:09:47 +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 m9NF6xkG081853; Thu, 23 Oct 2008 11:07:00 -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 m9NF6xmG081852; Thu, 23 Oct 2008 11:06:59 -0400 (EDT) (envelope-from jerrymc) Date: Thu, 23 Oct 2008 11:06:59 -0400 From: Jerry McAllister To: APseudoUtopia Message-ID: <20081023150659.GE81643@gizmo.acns.msu.edu> References: <27ade5280810221955l6bb7fe23u504b008e6799fc57@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <27ade5280810221955l6bb7fe23u504b008e6799fc57@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org 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:09:48 -0000 On Wed, Oct 22, 2008 at 10:55:19PM -0400, 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. You will need to gain console access or get someone there to gain console access. Then login as root and add that non-root account to the wheel group (or have the _trusted_ local person do it). Have the local person log out and you can then immediately log in as the non-root, su to root, check if anyone else is connected and then change the root password. ////jerry > > Thanks for any help/advice. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"