Question
-
CreatorTopic
-
September 30, 2007 at 3:18 am #2233933
How to reset root password in SuSe Linux 9.0
Lockedby swapnil147 · about 14 years, 9 months ago
help
Topic is locked -
CreatorTopic
All Answers
-
AuthorReplies
-
-
September 30, 2007 at 3:18 am #2513765
Clarifications
by swapnil147 · about 14 years, 9 months ago
In reply to How to reset root password in SuSe Linux 9.0
Clarifications
-
September 30, 2007 at 1:55 pm #2513661
Well, one thing’s for sure . . .
by older mycroft · about 14 years, 9 months ago
In reply to How to reset root password in SuSe Linux 9.0
You can’t use Linux to break into it!!!!!!
-
October 3, 2007 at 10:02 am #2514256
I just did this to a RedHat box
by davetib · about 14 years, 9 months ago
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-
April 20, 2012 at 8:18 am #2884389
Reponse To Answer
by bmohan_23 · about 10 years, 2 months ago
In reply to I just did this to a RedHat box
please let me know the steps…
-
-
October 2, 2008 at 4:29 pm #2801222
one way without cd
by ssaidwho · about 13 years, 9 months ago
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/-
October 2, 2008 at 4:36 pm #2801220
also….
by ssaidwho · about 13 years, 9 months ago
In reply to one way without cd
the filesystem mount needs to be changed so your change will take effect:
mount -o remount,rw /
http://www.linuxforums.org/forum/suse-linux-help/84401-changing-access-right-file-system.html
-
-
April 20, 2012 at 6:07 pm #2884382
lost Password
by merlin the wiz · about 10 years, 2 months ago
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.
-
April 20, 2012 at 10:56 pm #2884379
This is what I use
by hextwo · about 10 years, 2 months ago
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
# rebootFor systems using LILO:
1. At LILO boot prompt type “linux single” with no quotes.
2. At prompt enter following commands:# passwd
…
# sync
# rebootIf 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.
-
-
AuthorReplies