public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: Kev <savage-garden@hanikamail.com>
To: Glynn Clements <glynn@gclements.plus.com>
Cc: linux-newbie@vger.kernel.org
Subject: Re[2]: root password *reset root password with grub*
Date: Sun, 03 Apr 2005 09:04:59 +0600	[thread overview]
Message-ID: <20050403090435.A86A.SAVAGE-GARDEN@hanikamail.com> (raw)
In-Reply-To: <16974.37459.930871.583279@gargle.gargle.HOWL>


> 
> 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.
> 

first you have to boot the computer in single user mode, with single
user mode you dont need to root password.

To get into single user mode from GRUB, highlight the linux operating system you want to boot.
After the line is highlighted, press 'e'. 'e' will get you into the GRUB
editor. Next, highlight the line that begins with "kernel" and press 'e'
again. 'e' the second time will allow you to edit the "kernel" line. Add
the word "single" to the end of the line, "single" will tell the kernel
to boot into single user mode. After adding the word "single", press
"Enter" and then 'b' to boot the operating system.

one you got in to the single user mode, type passwd and change the root
password.

To leave single user mode, there are a number of possibilities, 
you can always execute a "shutdown" or "reboot" command, or you can
simply type "exit". When you type "exit", you will leave single user
mode and the operating system will continue to boot normally.


Kev.........
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  parent reply	other threads:[~2005-04-03  3:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-30  7:16 root password Ankit Jain
2005-03-30 14:36 ` Ray Olszewski
2005-04-01 16:23   ` Tobias Hirning
2005-04-01 16:52     ` Eric Bambach
2005-04-01 18:03       ` Tobias Hirning
2005-04-02 18:53         ` Ray Olszewski
2005-04-02 19:11           ` Tobias Hirning
2005-04-01 16:55   ` Eric Bambach
2005-04-01 18:23     ` Ray Olszewski
2005-04-01 23:57       ` J.
2005-04-02  0:56       ` Peter
     [not found] ` <16974.37459.930871.583279@gargle.gargle.HOWL>
2005-04-03  3:04   ` Kev [this message]
2005-04-03  3:53     ` Re[2]: root password *reset root password with grub* joy merwin monteiro
2005-04-04  3:39       ` Glynn Clements

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=20050403090435.A86A.SAVAGE-GARDEN@hanikamail.com \
    --to=savage-garden@hanikamail.com \
    --cc=glynn@gclements.plus.com \
    --cc=linux-newbie@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