The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 11:12 PM
SAM closed unexpectedlly, "indicating error in every applications" real-chess UNIX for Dummies Questions & Answers 1 08-14-2006 01:56 PM
FTP - Connection Closed By Remote Host mouglybean IP Networking 1 10-26-2004 09:15 AM
ssh connection error Jdogg UNIX for Advanced & Expert Users 2 10-08-2004 10:18 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-06-2003
giulianob giulianob is offline
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
  #2 (permalink)  
Old 10-06-2003
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
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
hassan2 hassan2 is offline Forum Advisor  
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
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:14 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0