Hi Folks,
I have just installed openSUSE 10.2 on a spare PC.
The PC boots up to the Linux ascii login prompt ok:
Welcome to openSUSE 10.2 (i586) - Kernel 2.6.18.2-34-default (tty1) Linux login:
However if I enter the login name "root" the PC immediately comes back and says:
login incorrect.
i.e. it recognises that root does not require a password but will not let me login.
I have booted the PC using the install CD and can see the files on the hard disk. If I look at /etc/shadow I can see that the root entry does not require a password.
I have therefore used vi to create an passwordless entry for a test user "tux" in /etc/password and /etc/shadow and also create a /home/tux directory and assigned it to user tux, group users however, after rebooting I still get the "login incorrect" error when I try to login as either tux or root.
What has gone wrong? Any suggestions on how to login would be welcome.
Sagr
Thanks to everyone who pointed out the obvious; that all I needed to do was replace the "root" line in /etc/shadow with a known working "root" line from another PC.
I am now able to log in again.
Sagr.