Solved

no login for root

Posted on 1998-12-18
3
262 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
ID: 1631947
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
ID: 1631948
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
ID: 1631949
answer is my comment.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Auto channel for WiFi (Access Point) 3 76
Determine Who is Runnig my Bash Shell Script 4 60
nagios 1 21
mcrypt_create_iv() is deprecated 4 67
In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

929 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