Locked out of Root
Jerry McAllister
jerrymc at msu.edu
Thu Oct 23 08:02:42 PDT 2008
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
>
More information about the freebsd-questions
mailing list