hello brothers,

This is the problem I am facing :

xdm does not start.Login prompt appears.When I try to login as root(or as any other user),it shows :

Login Failed.

I restart the system and enters into single user mode.
When i try to change the password using passwd, it shows

passwd: Can not identify you!

I tried Linux Rescue and the same message appears. (/etc/passwd file is intact). What could be the problem and solution.

Thanx in advance.