no login for root

i've made a mistake. i changed my login shell to tcsh in the passwd file without checking where the tcsh resides. i thought it would be the same as the default sh which is in /bin. now i am unable to login as the system say "cannot execute /bin/tcsh. no such file or directory". then the login prompt is showed up again. help is much appreciated.
rebeAsked:
Who is Participating?
 
vanchaiConnect With a Mentor Commented:
answer is my comment.
0
 
vanchaiCommented:
boot your system. at LILO prompt please type 'linux single'.
you can be root again and can change login shell.
0
 
rebeAuthor Commented:
this is the answer i want
vanchai, can you repost the answer, you deserve the points
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.