LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-23-2004, 09:45 AM   #1
James McGee
LQ Newbie
 
Registered: Aug 2004
Location: Calif
Distribution: SuSE V.9.1
Posts: 22

Rep: Reputation: 15
No root access


I am running SuSE V.9.1 and it has been and is working very nicely for me up untill a few days ago when it all of a sudden would no longer give me root access. When ever I try to go to root it refuses my password now.

Is there a way to edit the root password without having root access? I would hate to think that I am going to have to reinstall again and start all over.
 
Old 09-23-2004, 09:51 AM   #2
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
I read in the SuSE 8 manual just today or yesterday that it is difficult to fix this problem, which implies that it can be fixed.

However, there is probably a reason why it isn't working. Try typing in the password (when noone else is around ) in the username prompt, so that you can see what is actually being entered. I had a terrible time logging into SuSE (after 10 months of no use), although I knew exactly what the password should be. Since I had spilled water on my keyboard earlier this year, some of the keys don't always work exactly every time. So on the eighth try it worked. Typing the password in where you can see it will show you that it is being received correctly. If it were loading the wrong keyboard encoding by default then your password might not work.

This is not to mention, "have you checked whether your CAPS lock is on?"

Don't reinstall just yet.

Mike
 
Old 09-24-2004, 02:45 AM   #3
jev-bird
Member
 
Registered: Jul 2004
Location: USofA
Distribution: Whatever runs accordingly.
Posts: 200

Rep: Reputation: 30
If you have room left on another partition install something else, mount the suse partition chroot into it and/or reset the root passwd or delete it from /etc/shadow or remove the x from /etc/passwd.

The issue I hated worse was debian that won't give you root access even if you trick it into single user mode on boot, so ya gotta replace it with an encrypted password from another account since that's a password you know anyway.....arggh!
 
Old 09-24-2004, 04:33 AM   #4
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
Cool answer jev-bird.

I wonder if that process would work with Knoppix? That would be easier than installing a new system to the hdd. The point is moot I guess if you already have another system mounted. But thanks for that answer, I hope I never have to use it.
 
Old 09-24-2004, 04:50 AM   #5
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
Yes it can be done with Knoppix. Though I forget how There is a tutorial on IBM DevloperWorks called something like "System Recovery using Knoppix".
 
Old 09-24-2004, 12:41 PM   #6
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
You don't need to reinstall. This link gives you the basic steps on what to do. You can also run a Google search on the terms "root password recovery" and you'll find multiple articles on how to go about it. Good luck with it -- J.W.
 
Old 09-24-2004, 08:47 PM   #7
James McGee
LQ Newbie
 
Registered: Aug 2004
Location: Calif
Distribution: SuSE V.9.1
Posts: 22

Original Poster
Rep: Reputation: 15
Thanks anyway fellows

I appreciate your efforts fellows, but the sad truth is NOTHING worked. I tried the rescue using the SuSE dvd and was able to get to the passwrd and shadow files and edit them, but it did no good whatsoever......I tried the grub boot thing trying to get to single user, but it too did not work. Me and a friend worked 5 hours trying everything we could think of and searching the net for ideas, we also used a live cd of knoppix,but all failed. It simply would not let me reset the root password, so I reinstalled SuSE and presto I am back in business. Of course now it is going to take a week to put all the patches and reinstall all the software that I used to have in place.......rats!

Anyway it seems that what works for one distro doesn't always work for another, to bad things aren't a bit more standardized, sure makes it hard to get help when you need it.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get root access?? anjum Ubuntu 7 08-09-2005 10:47 AM
root access pazvant Linux - Security 4 03-12-2005 09:41 AM
need help with root access gue_andy Linux - Software 1 02-07-2005 11:47 AM
Root Access Obie Linux - Security 25 06-07-2004 11:03 AM
Root don't have access Rabbit Linux - Hardware 2 10-03-2002 04:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration