I have forgotten my root password.
i tried already the introduction with
mount root partition and then chroot etc. but i got the mistake:
/dev/urandom was not founded or something like this
changing root passwort failed
also i tried:
etc/shadow and then delete all after root:
but now it doesn’t recognize a password
Have you tried to modify /etc/password and reboot? after that you should change your root password and this new password will be written in /etc/shadow.
I just tried this under Suse 11.1 for educational purpose and it didn’t work. I deleted the x in /etc/password and I got no access. Also deleting the password in /etc/shadow didn’t help. Seems to be a security feature of Suse. So another trick:
Just copy the encrypted password of another user and replace the root password in /etc/shadow. To do so you need a live CD like Knoppix. After launching the system you can log in as root with the known password of the user and set a new one for root.