...thats quite a long problem...
Though it was said - it really was never checked - because it proved difficult without being root - I mean
/etc/shadow.
You can't even look at it as a normal user.
That is why you HAVE to do it from the outside - and because I'm not familiar wiht how the suse-rescue system works I recommend another Live-CD - you mentioned Knoppix - this will do, as will any other.
1) boot with your system rescue cd or another live CD
2) mount the drive
3) chroot /mnt/hda2
4) passwd root
This was the suggested procedure - and I really did not and still do not agree!
Why? If you chroot into the system - you are using all its facilities now - and none (except for the kernel) from the rescue-cd. You have effectively the same situation as when you just booted up the system.
That is why I said: chroot is NOT neccesary to get to these files and edit them - it will make it in fact impossible.
If you cannot do it from the system - you cannot do it from chroot.
Boot Knoppix
CTRL+ALT+1 (does not have to be 1 - any number between 1 and 6 will do) takes you to a console (just a command-line)
where you already are logged in as root
Is
/dev/hda2 your partition? which filesystem is it? Lets find out.
type
cfdisk - and you see the partitions on that disk along with the filesystem-type
"
q" (without the qoutes) ends the program and gets you back where you were
type
mount - to see if the partition is already mounted - if it is - unmount it (because we need to be sure it is mounted readable and writable)
umount /mnt/_mountpoint_ (substitute this for the real one...)
make a mount-point e.g. mkdir /mnt/suse
then mount the partiton: mount -t reiserfs /dev/hda2 /mnt/suse
(replace the filesystem-type with the real one - this is an assumption - but suse uses reiserfs as the standard...)
Then you can make it easy on you - use
mc to navigate and edit - you will figure it out -
F4 on a file opens an editor with that file loaded - its easier than
vi ...
go to
/etc and look into the files:
passwd shadow securetty
passwd has an
x for the password between the first two columns - take it out - there need to be two columns with no space or other caracter between them after the user name root
shadow has the encrypted password there - take it out - the same as above
look into:
securetty
NOW there IS NO password anymore - and now you can do:
chroot /mnt/suse /bin/bash
and then:
passwd root
and set a new one
if it does not work - if it still asks you for a password in order to change it and/or does not accept an empty one - I can't think of anything more.
If it worked:
exit
and shutdown knoppix...