SUSE / openSUSEThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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)
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)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.