Solved

no login for root

Posted on 1998-12-18
3
261 Views
Last Modified: 2013-12-15
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
Comment
Question by:rebe
  • 2
3 Comments
 

Expert Comment

by:vanchai
Comment Utility
boot your system. at LILO prompt please type 'linux single'.
you can be root again and can change login shell.
0
 

Author Comment

by:rebe
Comment Utility
this is the answer i want
vanchai, can you repost the answer, you deserve the points
0
 

Accepted Solution

by:
vanchai earned 100 total points
Comment Utility
answer is my comment.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now