LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-14-2002, 02:48 PM   #1
kouklanina
LQ Newbie
 
Registered: Sep 2002
Location: PA
Distribution: debian
Posts: 2

Rep: Reputation: 0
No shell


I recently installed Debain (woody) and was trying to install the latest version of z-shell and someow I think I have made it so my root has no shell. When I try to login to root using su command after entering password, it comes back No Shell and I can never enter.
 
Old 09-14-2002, 02:56 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Look (as normal user) into /etc/passwd. Search for entry for 'root'. At the end of that line there's shell used by root. See if it looks correctly. If it does (points to /bin/bash etc) there's something diffeent. If it doesn't, use a boot disk (or rescue one) and modify the fstab file for teh correct root shell.
 
Old 09-21-2002, 09:19 AM   #3
kouklanina
LQ Newbie
 
Registered: Sep 2002
Location: PA
Distribution: debian
Posts: 2

Original Poster
Rep: Reputation: 0
Mara-
Thank you so much for your help. I had to use the boot disk and change the file, it just took me awhile to figure out how to remount my drive read and writable. Thanks again for your help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between normal shell and login shell Manish Linux - General 7 11-14-2012 08:30 AM
Shell Scripting: Getting a pid and killing it via a shell script topcat Programming 15 10-28-2007 02:14 AM
'sh' shell - Actually calls legacy Bourne shell, or uses system default? Dtsazza Linux - Software 1 10-28-2005 09:20 AM
shell interface vs shell scripting? I'm confused jcchenz Linux - Software 1 10-26-2005 03:32 PM
[SHELL SCRIPT] Write at the right of the shell window Creak Linux - General 2 04-02-2004 03:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration