From owner-freebsd-questions@FreeBSD.ORG Thu Oct 23 03:25:42 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 736531065672 for ; Thu, 23 Oct 2008 03:25:42 +0000 (UTC) (envelope-from ben@b1c1l1.com) Received: from lancer.b1c1l1.com (lancer.b1c1l1.com [72.13.86.100]) by mx1.freebsd.org (Postfix) with ESMTP id 5D1B18FC18 for ; Thu, 23 Oct 2008 03:25:42 +0000 (UTC) (envelope-from ben@b1c1l1.com) Received: from supra.b1c1l1.com (c-24-7-82-201.hsd1.ca.comcast.net [24.7.82.201]) by lancer.b1c1l1.com (Postfix) with ESMTPSA id 9FF115C21; Wed, 22 Oct 2008 20:25:41 -0700 (PDT) Message-ID: <48FFEEAA.4060600@b1c1l1.com> Date: Wed, 22 Oct 2008 20:25:30 -0700 From: Benjamin Lee User-Agent: Thunderbird 2.0.0.17 (X11/20081008) MIME-Version: 1.0 To: APseudoUtopia References: <27ade5280810221955l6bb7fe23u504b008e6799fc57@mail.gmail.com> In-Reply-To: <27ade5280810221955l6bb7fe23u504b008e6799fc57@mail.gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8EEDF2AC06735DFDFAAAC461" Cc: freebsd-questions@freebsd.org Subject: Re: Locked out of Root X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2008 03:25:42 -0000 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--