Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 2008 07:44:58 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        APseudoUtopia <apseudoutopia@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Locked out of Root
Message-ID:  <444p33pmbp.fsf@lowell-desk.lan>
In-Reply-To: <27ade5280810221955l6bb7fe23u504b008e6799fc57@mail.gmail.com> (apseudoutopia@gmail.com's message of "Wed\, 22 Oct 2008 22\:55\:19 -0400")
References:  <27ade5280810221955l6bb7fe23u504b008e6799fc57@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
APseudoUtopia <apseudoutopia@gmail.com> writes:

> 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.

You'll need to reboot in single-user mode.
E.g.,
http://be-well.ilk.org/FreeBSD/doc/en_US.ISO8859-1/books/faq/admin.html#SU-WHEEL-GROUP

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
		http://be-well.ilk.org/~lowell/



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