Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 2008 10:59:19 -0400
From:      Jerry McAllister <jerrymc@msu.edu>
To:        Benjamin Lee <ben@b1c1l1.com>
Cc:        freebsd-questions@freebsd.org, APseudoUtopia <apseudoutopia@gmail.com>
Subject:   Re: Locked out of Root
Message-ID:  <20081023145919.GB81643@gizmo.acns.msu.edu>
In-Reply-To: <48FFEEAA.4060600@b1c1l1.com>
References:  <27ade5280810221955l6bb7fe23u504b008e6799fc57@mail.gmail.com> <48FFEEAA.4060600@b1c1l1.com>

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





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