• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 272
  • Last Modified:

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.
0
rebe
Asked:
rebe
  • 2
1 Solution
 
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
 
vanchaiCommented:
answer is my comment.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now