RE: How to recover root password

From: Sites, Brad (BSites_at_mem-ins.com)
Date: 12/29/03

  • Next message: Joe Szilagyi: "2.6 kernel upgrade fail..."
    To: "'redhat-list@redhat.com'" <redhat-list@redhat.com>
    Date: Mon, 29 Dec 2003 09:52:11 -0600
    
    

    Rus Foster wrote:
    > On Mon, 29 Dec 2003, Nguyen, David M wrote:
    >
    >> 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?
    >>
    >
    > Hi,
    > You can try booting with "linux init=/bin/sh"
    >

    Or, if running Grub, when you get the boot menu, press "e". Choose the boot
    option for linux and press "e" again. Add the word "single" to the end of
    that line and press enter. Then press "b" to boot off the modified line.
    That will boot you to a bash prompt where you can type "passwd" to change
    root's password.

    HTH,
       .~. Brad Sites, RHCE
       /V\ Systems Administrator
      // \\ Missouri Employers Mutual Insurance
     /( )\ bsites@mem-ins.com www.mem-ins.com
      ^^-^^ (573) 499-4230

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Joe Szilagyi: "2.6 kernel upgrade fail..."

    Relevant Pages

    • RE: Problems booting operating system and with root password
      ... Thank you for the quick response and I will try booting up in single mode ... FreeBSD /i386 boot ... Problems booting operating system and with root password ...
      (freebsd-questions)
    • Re: recover root password ?
      ... boot at single mode ... > I just install Linux 9 and I know I setup root password but some ... I setup as boot to graphic mode. ...
      (RedHat)
    • 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)
    • [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)