Re: How to recover root password

From: Harry Hoffman (hhoffman_at_ip-solutions.net)
Date: 12/29/03

  • Next message: Jason Dixon: "Re: rh9 2.4.20-27.9 kernel src not installing"
    To: redhat-list@redhat.com
    Date: Mon, 29 Dec 2003 10:50:34 -0500
    
    

    Hi David,

    There are a few options here:

    1) Boot with the redhat-9.0 cd 1. Type rescue at the boot prompt. It will seem
    like an installation at first but it will actually allow you to edit the shadow
    file or use chroot to step thru changing the password.

    2) Boot regularly and at the grub prompt append to your kernel arguments:
    init=/bin/bash

    HTH,
    Harry

    Quoting "Nguyen, David M" <david.m.nguyen@xo.com>:

    *> I forget root password. How do I recover it? I run redhat v9 and I
    *> have the system configured to have dual-boot. How do I get it to single
    *> mode to recover root password?
    *>
    *> Thanks,
    *> David
    *>

    -- 
    Harry Hoffman
    hhoffman@ip-solutions.net
    #----------------------------------------------------------------#
    # Harry: version 4.0a                                            #
    # Known bugs:                                                    #
    # 1) Verbal output may occur before data processing is complete. #
    # 2) Loudspeaker option may activate without being invoked.      #
    # 3) Other bugs as reported                                      #
    #----------------------------------------------------------------#
    -------------------------------------------------
    This mail sent through IpSolutions: http://www.ip-solutions.net/
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Jason Dixon: "Re: rh9 2.4.20-27.9 kernel src not installing"

    Relevant Pages

    • Re: root password
      ... "OK" boot prompt) I am prompted for root password again. ... SCSI CD or network boot image. ...
      (comp.sys.sun.admin)
    • root password
      ... "OK" boot prompt) I am prompted for root password again. ... SCSI CD or network boot image. ...
      (comp.sys.sun.admin)
    • [opensuse] Re: May get some BAD PRESS over this!!
      ... does ALL of his .Net teaching all over the Country on a laptop with SUSE ... Recovering from a broken root password isn't really that hard. ... Nowadays, you have to boot some Live CD, mount the partition containing the ... user mode. ...
      (SuSE)
    • looking for a rescue disk for RH 6.0
      ... I have an old Fujitsu operating on RedHat 6.0, and, even though I have ... with this "new" release you can no longer boot on rescue mode, ... have recorded a rescue disk from you system. ... then I used to enter root password as required, ...
      (comp.os.linux.setup)
    • Re: how recover a root pass in SCO Unix, I need some help.
      ... commonly and typically the case that the root password is required to ... boot into single user mode - at least when booting from the "normal" ... console and/or physical access to the hardware. ...
      (comp.unix.shell)