I broke CentOS trying to edit a file I probably shouldn't have touched in an attempt to get a user to automatically login.

The instruction was this:

Modify following line in /etc/init/tty.conf
exec /sbin/mingetty $TTY to exec /sbin/mingetty –autologin username password $TTY

Now when I boot I get a blinking cursor, entering text does nothing. How can I fix this? Obviously getting to /etc/init/tty.conf can fix the problem, I just don't know how to do that with the OS in it's current state.


You can boot from a LiveCD version of Linux and modify the file from there.

Try to undo what you changed and see if that fixes it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.