Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
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.
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.
|
 |
02-04-2006, 03:49 AM
|
#1
|
Member
Registered: Apr 2004
Posts: 194
Rep:
|
How to recover lost Root password in Suse Enterprise 9.0
Hi Guyz,
can any one help me in recovering lost Root passwrord in Suse Enterprise 9.0, since i am very well aware of Red Hat and init method. but can any one guide me how to do the same on Suse Linux
Thanks in advance
Manya
|
|
|
02-04-2006, 04:34 AM
|
#2
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep: 
|
Have you tried booting in single user mode and just using the passwd command? If that doesn't work, you can boot with your Suse CD and edit /etc/shadow for the root user's entry - remove the text between the first and second colons ( : ).
Last edited by gilead; 02-04-2006 at 04:37 AM.
|
|
|
02-04-2006, 05:45 AM
|
#3
|
LQ Newbie
Registered: Feb 2006
Posts: 13
Rep:
|
Yup single user mode is the best method. Should work on most linux distros too.
|
|
|
02-05-2006, 06:56 AM
|
#4
|
LQ Newbie
Registered: Jul 2004
Location: Berlin, Germany
Distribution: Debian Sarge, Fedora Core 4, Suse 9.1
Posts: 13
Rep:
|
I have a vague memory that in some distros this method no longer works, and you have to supply your root password at all times (even if you specify a shell as your init-process in grub or lilo).
In that case boot your machine with a live distribution like Knoppix. Mount the root partition of your harddisk read-writable and blank out the second field of the root entry in /etc/passwd. Unmount and reboot. Now your root account has no password.
|
|
|
All times are GMT -5. The time now is 10:57 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
|
|