How to recover lost Root password in Suse Enterprise 9.0
Linux - SecurityThis 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.
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
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 ( : ).
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.