Re: I´ve lost my root password

From: Jubei (alex_at_spamfree.boag-munroe.com)
Date: 04/13/04


Date: Tue, 13 Apr 2004 14:06:24 -0400

On Tue, 13 Apr 2004 18:35:45 +0200, "Bengan" <gna521g@tninet.se>
wrote:

>Could someone please help me how to login as root without a password.
>I can login as user.
>
>//Bengan
>
Depending on your distribution, you should be able to boot from your
distro's CD into a rescue type environment, mount your root partition
and chroot to it. From there use the passwd command to assign root a
new password.

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----



Relevant Pages

  • Re: Fwd: Boot failure
    ... generic kernel, first? ... Seeing as how you can mount the partitions on the drive perfectly by ... It won't even boot into single user or safe mode. ... it tries to mount the root partition. ...
    (freebsd-questions)
  • Re: [SLE] How do I restore original initrd?
    ... Boot the rescue cd. ... Mount your root partition in /mnt, ...
    (SuSE)
  • Re: Fwd: Boot failure
    ... generic kernel, first? ... Seeing as how you can mount the partitions on the drive perfectly by ... It won't even boot into single user or safe mode. ... it tries to mount the root partition. ...
    (freebsd-questions)
  • Re: Hardware
    ... If you used Knoppix or some other live CD, ... Right-click on the desktop icon for the root partition and mount it ... name and the second field, where I put the Xs, holds the password hash. ...
    (Debian-User)
  • Re: Restoring old root partitions.
    ... >>Why not go in with a rescue disk of some sort, chroot to the original ... Basically, you boot up the rescue disk, mount whatever partition needed ... say your root partition is /dev/hda1. ...
    (Debian-User)