From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robin Doer Subject: Re: root password Date: Wed, 30 Mar 2005 16:07:59 +0200 Message-ID: <424AB2BF.4060208@robind.de> References: <20050330071611.44428.qmail@web52905.mail.yahoo.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20050330071611.44428.qmail@web52905.mail.yahoo.com> Sender: linux-admin-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Ankit Jain Cc: admin Ankit Jain schrieb: >hi > >i have forgotten my root pasword. i had installed >redhat linux 9.0 kernel version 2.4 with grub loader. >if somebody can tell me how to change the password >without logging. > >thanks > >ankit > > Boot Linux from a CD. Knoppix for example, Radhat installation medium or whatever. If you have only one big partition it's quiet easy! Mount your local partition (e.g. mount /dev/ /mnt/wherever) and chroot into it (chroot /mnt/wherever). And then "passwd" to change the password. Hope it help! Robin