General discussion

Locked

No longer be able to login to console no

By hta ·
I have a Linux box that I was using it for IPCHAINS that I had not touch for a few months (I did not change configuration nor adjust rules on the firewall) but since yesterday it will not allow me to telnet to it. But since I was log into the console as root I tried to switch to another console using [ALT F3] and longin to the console it also fail. I when back to the main console to create a "temp" users and password to login and it also fail. When I type who on the only console session I have left it act like it does not see any session alive.
It also does not know which run level it is in according to the log for the cron jobs.
I then it down to restart but know I cannot log into it anymore.
This is Linux 6.0 and I encounter this problem once before but I though it was a hard disk problem so I change the hard disk and reinstall from crash. But this time I need to know what to do because I can not afford the time to rebuild the entire system.
Can someone tell me what I should to troubleshoot this pro

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

No longer be able to login to console no

by zbrain75 In reply to No longer be able to logi ...

When your system begins to boot and you get the LILO prompt you can get a choice of boot options by pressing the TAB key (This assumes you have the LILO boot manager installed, which should be the case). Assuming the name you called your Linux system in the LILO selection was "linux", type "linux single".
This will allow you to boot into a single user mode with root privileges. Then try setting your password again with the command "passwd root". You will want to check your log files in the /var/log directory. Check /var/log/messages and /var/log/secure to see if there is any reason why your logins may have failed. Do you have any limits set on the length of time your passwords are valid? It's possible your system may have some otherproblems that you may need help with. If so, feel free to e-mail me.

Collapse -

No longer be able to login to console no

by hta In reply to No longer be able to logi ...

This is a good way to enter the system if you have trouble.

Back to Linux Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums