From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Jdwof-0003qr-KE for garchives@archives.gentoo.org; Tue, 25 Mar 2008 00:15:01 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E45D2E08A7; Tue, 25 Mar 2008 00:14:59 +0000 (UTC) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.225]) by pigeon.gentoo.org (Postfix) with ESMTP id C353CE08A7 for ; Tue, 25 Mar 2008 00:14:59 +0000 (UTC) Received: by wr-out-0506.google.com with SMTP id c48so1985433wra.1 for ; Mon, 24 Mar 2008 17:14:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=zFA1ahBbiWlVPzLskNfAOGknNAiaN6W8vGrNVpJ9fu0=; b=UWVvpXlmiR+RaLtnLJrqlq85v1U3vbmIEjFtI8FLyMU0tQkk6cDEhty5P06eYQ61uV+aIziODK+ssuO9iq8lsB/TKFEbJSDqRgVM096DEeDVOJCnhuINKjRYgf6Aog1SY9g4D+zRC/8JByZ7K9UFEkyKJUKmJQe4MWA4ETXb/PY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dU07oQ8grH6wYedktqy0GhWH5BQbZ1tfXo8VglgBPxwDGJDp/vYaQowDSzKNhoXf6deXAEmHuLnZrjgCqtoPGyT0BSAPy/m0j3wiRbB8niwNu1QFC87HG5IOM9Wyqx8yzmTaXYoEIv8gJiOdKIsbkQVSVD9yOJd3rs++fMB92jE= Received: by 10.114.178.1 with SMTP id a1mr13035681waf.25.1206404098649; Mon, 24 Mar 2008 17:14:58 -0700 (PDT) Received: by 10.114.39.8 with HTTP; Mon, 24 Mar 2008 17:14:58 -0700 (PDT) Message-ID: <49bf44f10803241714m49904e41hb9ce48de7d4c0d8e@mail.gmail.com> Date: Mon, 24 Mar 2008 17:14:58 -0700 From: Grant To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Recovering root password In-Reply-To: <3b5772b30803241340v2fa2b85agfd5d1e8c4679b121@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <49bf44f10803241330r3b447b4bkde7a062c73905b94@mail.gmail.com> <3b5772b30803241340v2fa2b85agfd5d1e8c4679b121@mail.gmail.com> X-Archives-Salt: d24c26cf-4302-4806-bae0-7ad1a08178b9 X-Archives-Hash: 720378aa10b51e56912e06bdd06cd083 > > I've revived an old Gentoo laptop, but I've forgotten the root > > password. I remember the password to my user account and I can log in > > there fine. Can I recover the root password? > > On the grub menu, edit the entry of the system you want to boot and on the > kernel line, add "init=/bin/bash" without the quotes. Boot that modded boot > instructions sequence. After kernel loads, you'll have a bash. Type: "mount > -o rw,remount /" > Then type "passwd", put the new root pwd. Remount the partition read-only: > "mount -o ro,remount /" and reboot. Done! Done deal, thanks everyone. - Grant -- gentoo-user@lists.gentoo.org mailing list