My linux 7.1 system has started giving me a problem today.
My machine starts in text mode by default and I can not logon to the system.
I give the user name and press enter; Instead of asking me the password, it goes back to login prompt.
I can log on to the system remotely from another machine via ssh. I connected through ssh and changed the default run-level to 5 in /etc/inittab file. Then I restarted the machine and observed this:
1. After changing the run-level, the system tries to start sendmail service at startup and takes a long time. Before I changed the run-level, the sendmail service never started. It was disabled in ntsysv
2. After runlevel is changed to 5, the machine boots into the graphical mode and I can log on.
I tried to revert the run-level to 3 and it started giving the same problem again.
Please help me; if someone knows what's wrong with it and how to solve it? Is it a virus?
Please email me on firstname.lastname@example.org