linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Glynn Clements <glynn@gclements.plus.com>
To: Ankit Jain <ankitjain1580@yahoo.com>
Cc: admin <linux-admin@vger.kernel.org>
Subject: Re: root password
Date: Sat, 2 Apr 2005 13:38:43 +0100	[thread overview]
Message-ID: <16974.37459.930871.583279@gargle.gargle.HOWL> (raw)
In-Reply-To: <20050330071611.44428.qmail@web52905.mail.yahoo.com>


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 <glynn@gclements.plus.com>

  parent reply	other threads:[~2005-04-02 12:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-30  7:16 root password Ankit Jain
2005-03-30 14:07 ` Robin Doer
2005-03-30 16:36 ` Manish Regmi
2005-03-31  0:57   ` terry white
2005-03-31  1:32     ` Jim C. Brown
2005-04-02 12:38 ` Glynn Clements [this message]
2005-04-03  3:03   ` Re[2]: root password *reset root password with grub* Kev
  -- strict thread matches above, loose matches on Subject: below --
2005-03-30  7:48 root password Wei Zhang GR
2005-03-30 10:31 Rajat  Jain, Noida
2005-03-30 13:29 Mike Turcotte
2005-04-03  4:39 Ankit Jain
2005-04-03  5:05 ` Jim C. Brown
2005-04-03  5:14 ` Grant Coady
2005-04-04  2:48 ` Glynn Clements
2005-04-04 14:24 ` Scott Taylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16974.37459.930871.583279@gargle.gargle.HOWL \
    --to=glynn@gclements.plus.com \
    --cc=ankitjain1580@yahoo.com \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).