Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 2008 11:06:59 -0400
From:      Jerry McAllister <jerrymc@msu.edu>
To:        APseudoUtopia <apseudoutopia@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Locked out of Root
Message-ID:  <20081023150659.GE81643@gizmo.acns.msu.edu>
In-Reply-To: <27ade5280810221955l6bb7fe23u504b008e6799fc57@mail.gmail.com>
References:  <27ade5280810221955l6bb7fe23u504b008e6799fc57@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081023150659.GE81643>