The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
"421 service not available, remote server has closed connection."? vishaldsh Security 1 09-18-2007 08:12 PM
SAM closed unexpectedlly, "indicating error in every applications" real-chess UNIX for Dummies Questions & Answers 1 08-14-2006 10:56 AM
FTP - Connection Closed By Remote Host mouglybean IP Networking 1 10-26-2004 06:15 AM
ssh connection error Jdogg UNIX for Advanced & Expert Users 2 10-08-2004 07:18 AM

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-06-2003
Registered User
 

Join Date: Sep 2003
Location: Germany
Posts: 6
no shell connection closed error

Hi,

I have created some users on my new enviroment on sun solaris in the aptempt to create a .profile which I did. I must have done something wrong because when I try to connect to one of this users it says:no shell, connection closed. The only thing I can think is that in my .profile I inserted an entry that say SHELL=/usr/bin/ksh
but i checked with "which ksh" before and it showed me the above path. What could be else be wrong and how can I ajust this? I also saw logged as root in etc/passwd that for all those user the path for ksh was :bin/ksh, I changed this to be :/usr/bin/ksh, but still same problem.
Help
Giuliano
Forum Sponsor
  #2 (permalink)  
Old 10-06-2003
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,355
Take out the SHELL= statement. SHELL gets set automaticly.

There is something wrong with /etc/passwd. Each user has a line in /etc/passwd. The line is a bunch of fields separated by colons. The last field is the shell and you must have it wrong.
  #3 (permalink)  
Old 10-07-2003
Registered User
 

Join Date: Mar 2002
Location: London, England
Posts: 262
I agree with Perderabo, if you still having problem I would suggest removing users by using the following command

userdel user_name

then add users again using the command

useradd -g user_group -d /user_home_directory -s /usr/bin/ksh user_name
Google UNIX.COM
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 10:40 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0