public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: Ray Olszewski <ray@comarre.com>
To: linux-newbie@vger.kernel.org
Subject: Re: root password
Date: Wed, 30 Mar 2005 06:36:32 -0800	[thread overview]
Message-ID: <5.1.0.14.1.20050330063201.02035bd0@celine> (raw)
In-Reply-To: <20050330071611.44428.qmail@web52905.mail.yahoo.com>

At 11:16 PM 3/29/2005 -0800, Ankit Jain wrote:
>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.


The normal solution to this sort of problem is to boot the system using a 
rescue disk (floppy or CD, depending on your hardware); mount the 
filesystem with the password problem at some convenient mount point; and 
delete the root password entry from /etc/shadow . Then reboot normally, log 
in as root (with no password) and set a new root password. Do all of this 
with the system disconnected from the Internet, of course, until you have a 
new root password in place.

Any other suggestion of how to become root without knowing the root 
password is a technique for breaking into systems, and I (and I hope 
everyone else) will not give advice on that publicly, in this forum or 
anywhere else.



-
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

  reply	other threads:[~2005-03-30 14:36 UTC|newest]

Thread overview: 19+ 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 [this message]
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   ` Re[2]: root password *reset root password with grub* Kev
2005-04-03  3:53     ` joy merwin monteiro
2005-04-04  3:39       ` Glynn Clements
  -- strict thread matches above, loose matches on Subject: below --
2005-04-03  4:39 root password 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 11:42   ` Andrew

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=5.1.0.14.1.20050330063201.02035bd0@celine \
    --to=ray@comarre.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