Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 2008 20:25:30 -0700
From:      Benjamin Lee <ben@b1c1l1.com>
To:        APseudoUtopia <apseudoutopia@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Locked out of Root
Message-ID:  <48FFEEAA.4060600@b1c1l1.com>
In-Reply-To: <27ade5280810221955l6bb7fe23u504b008e6799fc57@mail.gmail.com>
References:  <27ade5280810221955l6bb7fe23u504b008e6799fc57@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig8EEDF2AC06735DFDFAAAC461
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 10/22/08 19:55, APseudoUtopia wrote:
> Hey,
>=20
> 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.
>=20
> 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.
>=20
> Thanks for any help/advice.

Login as the unprivileged user and run:

$ su

See su(1).


--=20
Benjamin Lee


--------------enig8EEDF2AC06735DFDFAAAC461
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIcBAEBAgAGBQJI/+6vAAoJEN/n9makEYTh4dcP/2JLibNRR7bHvkwZ1yGIesJi
Fkn+OQAAukcL7d95Z+Rs3ptLHrsjQaUuq1P92sgqM4lcsIT37v4GW/78z07iDqGY
rB0/JRkZxK9oSIvUbVJpbhMyS3Jzk9T4yWdbK01W7+yF5f/3NO9rFQbjJNhf8xAA
MgN6o+moUpyElTzi3/S5FhCgBcAgREpx79L+2FWwnBVV/Jg5cfyPlY0A3CAdsMM4
/Af004vmurKDVqHDUPW+pBUBUMhJHnqrLlBmXF9mAEYvtzPin5KIZNopFir4/qxu
R8eBhG1Ik5ytO8f52WBhpapesf06F0XMeKf+DmM1SzwKJdB51GI/kbAQ/PPJ0tmd
9ksUSh/d6stWrF7diw8zYjzfVIFdX5I+LHYxxImGJC4PSpSgB8CZqFA3dhZ1sBOl
TRjSwqQp/2ZnCPULdyc7uLQWvlRaRhw/ZdDmO/18SMiQg9Mj0zoDY4SHsRLd9Wu6
R6Xo5bgl5SPiuDgqVvd2NNJAXIHV75KOZJwTRnNysQRuSUznUeFdwbZJkVkV9au/
pGTcuAevWgfIviYscHEQmO4ACE18ySC2zYwkohZJ1Y7dFjvhyI4HBXwxO/NElW9I
W/71L3cyWCktp8sgcdtF8kBw/8e6lzWuezIZjPiIr4Z9NzqctVvtx8eKFXX3NT0t
PHa+jXlEP3oCGxZEDtWe
=OZP8
-----END PGP SIGNATURE-----

--------------enig8EEDF2AC06735DFDFAAAC461--



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