•   Notifications
  • Welcome to our forums

    Join us now to get access to all our awesome features. Once registered and logged in, you will be able to create topics, post replies, give reputation to your fellow members, get your own private messenger, and so, so much more.

    + Reply to Thread + Post New Thread
    Results 1 to 3 of 3

    Thread: Red Hat 9
  • Share This Thread!
    • Share on Facebook
    1. #1
      Join Date
      Oct 2001
      Location
      Shetland Islands
      Posts
      26

      Red Hat 9

      Some time ago I installed Red Hat 9 on a spare machine that I built.

      My problem is I have passworded it, now I can't remember it, is there anyway to bypass so that I can enter a new one, or do I have to do a complete re-install again

    2. #2
      Quote Originally Posted by jomotheman
      Some time ago I installed Red Hat 9 on a spare machine that I built.

      My problem is I have passworded it, now I can't remember it, is there anyway to bypass so that I can enter a new one, or do I have to do a complete re-install again
      NO,
      Just boot from Your installation cd or dvd and startup in resque mode.
      After booting get your root filesystem (is displayed on the screen chroot)
      and vi your etc/passwd or etc/shadow file and blankout the password field for root.
      afterwards reboot and logon as root with no password.
      execute the passwd command to set your root password again..

      Success

    3. #3
      Join Date
      Sep 2001
      Location
      Austria
      Posts
      2,600
      hehe, that´s a way !
      The other one would be depending on the boot loader you use.
      If it is lilo, just press down CTRL while booting up, you will end in a prompt:
      lilo:
      type in: linux init=/bin/bash
      Press enter, wait a bit, you will get in the console,
      edit the /etc/shadow file as leike said above and then run the command sync, now press ALT+STRG+DEL and normally boot up the system, login with root and no password.
      If you use grub I am not sure how you could get into this prompt, but google can surely find an answer for that
      Life plays with us, like the wind with the leaf
      Success: It is not the position you stand, but the direction in which you look.


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    Powered by vBulletin™ Version 4.0.3 Copyright © 2012 vBulletin Solutions, Inc. All rights