From mboxrd@z Thu Jan 1 00:00:00 1970 From: Glynn Clements Subject: Re: root password Date: Sat, 2 Apr 2005 13:38:43 +0100 Message-ID: <16974.37459.930871.583279@gargle.gargle.HOWL> 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" To: Ankit Jain Cc: admin Ankit Jain wrote: > 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. Add "init=/bin/sh" to the kernel's command line at boot time. Then it will boot directly into a root shell. However, if you've configured the boot loader to prohibit passing arguments to the kernel (or if you've configured it to require a password and have forgotten that as well), you'll need to boot from a CD. -- Glynn Clements