Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > SuSE Linux Help
Reload this Page Lost Root Password
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

SuSE Linux Help For help and discussions related to SuSE Linux

Reply
 
Thread Tools Display Modes
Old 10-31-2005   #11 (permalink)
AlexK
Linux Guru
 
AlexK's Avatar
 
Join Date: Feb 2005
Location: Earth
Posts: 3,381
It will be a good idea to backup important docs and relevant rpms of programs/drivers you need. I haven't done a repair install, but if it decides to format (which I highly doubt), you will lose your data, so just to be safe, backup whatever is important to you.
__________________
Life is complex, it has a real part and an imaginary part.
AlexK is offline   Reply With Quote
Old 10-31-2005   #12 (permalink)
rogemax
Just Joined!
 
Join Date: Oct 2005
Posts: 1
Grrr - doesnt work either...

Hi together, struggling with the same issue - however, repair install doesnt really work, unfortunately. looks like the mounted drive doesnt recognize the passwd command. Any further ints on that? Appreciate your help
__________________
AMD 64+ 3000/Suse 9.3-64
rogemax is offline   Reply With Quote
Old 11-01-2005   #13 (permalink)
AlexK
Linux Guru
 
AlexK's Avatar
 
Join Date: Feb 2005
Location: Earth
Posts: 3,381
what do you mean repair install didn't really work? The mounted drive won't recognize the passwd command unless you chroot into it.

If all else fails, just do a clean install.
__________________
Life is complex, it has a real part and an imaginary part.
AlexK is offline   Reply With Quote
Old 11-02-2005   #14 (permalink)
rj586b
Just Joined!
 
Join Date: Jun 2005
Location: CA
Posts: 94
I will be attempting a repair install tomorrow and will let you know how it goes.

Hopefully this fixes the corruption in my password changing utility.
__________________
Linux is numero uno!
______________________
AMD 64 3500 - 2 WD Raptors w Linux - 1 Maxtor IDE w winXP - Gigabyte 3DI Motherboard + 6600 GT SLI (SLI not working in Linux) - 512 PC3200 - On board sound - Logitech 4.1 - WinTV PVR.
rj586b is offline   Reply With Quote
Old 11-03-2005   #15 (permalink)
charlemax
Just Joined!
 
Join Date: Oct 2005
Location: 42N 83W
Posts: 16
Maybe this won't work in Suse, but have you tried using a live cd to access
/etc/shadow? You edit the file, deleting the hash number for the administra-
tor password. It's a number between the first two colons in the administra-
tor entry, which you find by scrolling down the page. Copy it and then delete the number, but not the colons, and then save the file.
when you reboot, you should be able to get in as administrator without a
password --- it will still ask you for one, but just push Enter and in you go.
__________________
registered Linux user #336564
charlemax is offline   Reply With Quote
Old 11-04-2005   #16 (permalink)
AlexK
Linux Guru
 
AlexK's Avatar
 
Join Date: Feb 2005
Location: Earth
Posts: 3,381
it will work, but the problem that the original poster faced was his password changing utility was corrupted. Hence, even if he changed the contents of shadow as you describe, it will leave his system without a root password.
__________________
Life is complex, it has a real part and an imaginary part.
AlexK is offline   Reply With Quote
Old 11-08-2005   #17 (permalink)
rj586b
Just Joined!
 
Join Date: Jun 2005
Location: CA
Posts: 94
Sorry it took me so long to get back. I did try a Knoppix CD but I had the same problem. By the way, Knoppix is great! I thought it was pretty easy to save my important files + RPMs and do a fresh install. It was worth it to get my fix my root password problem.

Take Care
__________________
Linux is numero uno!
______________________
AMD 64 3500 - 2 WD Raptors w Linux - 1 Maxtor IDE w winXP - Gigabyte 3DI Motherboard + 6600 GT SLI (SLI not working in Linux) - 512 PC3200 - On board sound - Logitech 4.1 - WinTV PVR.
rj586b is offline   Reply With Quote
Old 10-20-2006   #18 (permalink)
Lono404
Just Joined!
 
Join Date: Oct 2006
Posts: 1
Baptism by fire

I greatly appreciate all those who contributed to this thread. My first computer may have been a Commidore 64 but I am a power user not a geek. So when my installation of SuSE 10 Desktop proceeded to by-pass the part of setting up the first user, I was lost.

I followed each of these instructions and ended up using Knoppix with no success.

Following Occum's Razor I went back and re-downloaded the software. It turned out that two of the disks were corrupt. I Re-ran the install (by this time it must have been for the sixth time) and sucess!!!

So for you non-geeks, consider the possbility that the source disks are bad if your install ends with it asking for a username and password without having set them up.

I hope this helps.
Lono404 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 12:55 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0