| Suse/Novell This Forum is for the discussion of Suse Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-10-2007, 10:56 PM
|
#1
|
|
LQ Newbie
Registered: Feb 2007
Posts: 8
Rep:
|
Help - root passwd - new problem
So I have searched the threads and Googled this but I have a bad feeling I may have screwed myself beyond repair. I *believe* this angle on this problem is not covered in the other threads. If it is, apologies.
Per thread instructions I use the 1st install disk to get to rescue system, then I get to:
Rescue~:#
So then I type passwd, and it says "Changing passwd for root" but then it errors out to the following:
"User not known to the underlying authentication mode"
Have I skipped a crucial step somewhere? We walked away from this machine about 3 months ago, and I believe the last guy may have changed the "root" account name. Would that be causing the error? Is there any way to recover from this or do I need to re-install?
BTW - this is OpenSuse 10.1
|
|
|
|
09-10-2007, 11:33 PM
|
#2
|
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,797
|
If you have physical access to the hardware, you can always reset the root password. Here are two methods:
1. Boot into "single-user" mode. Typically, when the GRUB menu appears, stop the countdown by hitting the tab key. If in graphical mode, you might need to hit "escape". Edit the kernel line to add the word "single" at the end. then boot--you should wind up in a CLI mode with no password required. Type "passwd root' to change the root password.
2. Boot from any Live CD, mount the Linux partition, and edit /etc/passwd----remove the first "x" in the entry for root. It will wind up like so:
root::.....etc
reboot and you will be able to log in as root with no password (at least to a terminal---many distros are set to not allow root to log in to the GUI)
Last edited by pixellany; 09-10-2007 at 11:34 PM.
|
|
|
|
09-11-2007, 06:00 PM
|
#3
|
|
LQ Newbie
Registered: Feb 2007
Posts: 8
Original Poster
Rep:
|
More basic help
Sorry - it appears I am a true neophyte. I tried to mount the linux partition but I can't find it/don't know how (read through the man page). It is an nfs partition. I thought root was automatically mounted when you used the instal cd?
Quote:
Originally Posted by pixellany
If you have physical access to the hardware, you can always reset the root password. Here are two methods:
1. Boot into "single-user" mode. Typically, when the GRUB menu appears, stop the countdown by hitting the tab key. If in graphical mode, you might need to hit "escape". Edit the kernel line to add the word "single" at the end. then boot--you should wind up in a CLI mode with no password required. Type "passwd root' to change the root password.
2. Boot from any Live CD, mount the Linux partition, and edit /etc/passwd----remove the first "x" in the entry for root. It will wind up like so:
root::.....etc
reboot and you will be able to log in as root with no password (at least to a terminal---many distros are set to not allow root to log in to the GUI)
|
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:47 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|