Question

  • Creator
    Topic
  • #2233933

    How to reset root password in SuSe Linux 9.0

    Locked

    by swapnil147 ·

    help

All Answers

  • Author
    Replies
    • #2513765

      Clarifications

      by swapnil147 ·

      In reply to How to reset root password in SuSe Linux 9.0

      Clarifications

    • #2513661

      Well, one thing’s for sure . . .

      by older mycroft ·

      In reply to How to reset root password in SuSe Linux 9.0

      You can’t use Linux to break into it!!!!!!

    • #2514256

      I just did this to a RedHat box

      by davetib ·

      In reply to How to reset root password in SuSe Linux 9.0

      I just had to reset the Root password for a machine running RHEL 4.
      I’d rather not post the steps here, as it is a bit of a security hole.
      If I can contact you directly, I’ll send you the steps I used.
      Dave

    • #2801222

      one way without cd

      by ssaidwho ·

      In reply to How to reset root password in SuSe Linux 9.0

      type init=/bin/bash as a grub boot loader option. i had to have ps2 keyboard (usb didn’t work). found this answer posted here:
      http://www.linuxquestions.org/questions/linux-software-2/forgot-password-suse-linux-10-434891/

    • #2884382

      lost Password

      by merlin the wiz ·

      In reply to How to reset root password in SuSe Linux 9.0

      I just fixed this problem with openSUSE 12.1. Nothing in the above solutions worked. I could not find my original downloaded CD, so I downloaded and burned a new CD. I then ran the CD and Created NEW passwords, and did NOT allow the CD to format either the primary partition OR the User/Data partition. When the installation finished, I then ran the check for updates utility . The program updated and everything works fine., including the Firefox Add-ons I had previously installed.

    • #2884379

      This is what I use

      by hextwo ·

      In reply to How to reset root password in SuSe Linux 9.0

      for Fedora and RedHat. Maybe it will work for SUSE.
      I don’t remember where I got this though so I can’t give credit…

      How to Reset the Root Password

      For systems using GRUB:
      1. Restart the computer and enter GRUB menu. This is done by pressing ESC or
      Left-Shift or Right-Shift.
      2. If an entry exists called “recovery mode” or “single user mode” select and
      boot that entry. Else, use the following steps to enter single user mode:
      1. Use arrows to select boot entry to modify.
      2. Press “e” to edit.
      3. Use arrows to select “kernel” line.
      4. Press “e” to edit.
      5. At end of line add the word “single” with no quotes.
      6. Press ESC to go back.
      7. Press “b” to boot.
      3. At prompt type following commands:

      # passwd

      # sync
      # reboot

      For systems using LILO:
      1. At LILO boot prompt type “linux single” with no quotes.
      2. At prompt enter following commands:

      # passwd

      # sync
      # reboot

      If you are asked for root password when entering single user mode use
      “init=/bin/bash” on the kernel append line which should boot the machine into
      a bash console where you can get read/write access to your /etc/shadow file.
      You can then either run “passwd” or edit the shadow file directly to put in
      an empty string. This allows you to reboot the machine into its normal
      environment and login as root leaving the password blank and then run “passwd”
      to set the root password. This should be done when the machine is not
      connected to the network.

Viewing 5 reply threads