From owner-freebsd-questions Wed Oct 24 12:58: 7 2001 Delivered-To: freebsd-questions@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id 7440237B401 for ; Wed, 24 Oct 2001 12:58:03 -0700 (PDT) Received: from jonc.itouch ([192.168.2.21]) by itouch.co.nz with esmtp (Exim 3.33 #1) id 15wUA6-000JkV-00; Thu, 25 Oct 2001 08:58:02 +1300 Received: (from jonc@localhost) by jonc.itouch (8.11.6/8.11.6) id f9OJw1167359; Thu, 25 Oct 2001 08:58:01 +1300 (NZDT) (envelope-from jonc) Date: Thu, 25 Oct 2001 08:58:01 +1300 From: Jonathan Chen To: Steve Austin Cc: questions@freebsd.org Subject: Re: ksh not starting Message-ID: <20011025085801.B67231@jonc.itouch> References: <20011024155058.80904.qmail@web20403.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011024155058.80904.qmail@web20403.mail.yahoo.com>; from indydog125@yahoo.com on Wed, Oct 24, 2001 at 08:50:58AM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Oct 24, 2001 at 08:50:58AM -0700, Steve Austin wrote: > sorry for a little bit of a repost, but I cannot trace > the answer to the original question: > > http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=1286550+1289451+/usr/local/www/db/text/2001/freebsd-questions/20010805.freebsd-questions > > Restating the question: > I've changed the passwd file to reflect the requested > login shell from the user (/bin/ksh). When the user > logs in (to the console, or from a remote location), > he > is still in sh - not in ksh. If the user then executes > ksh as a command, the shell starts, the .profile file > is executed, and all works well. Don't use vi to edit the passwd file. Use vipw(1) instead. -- Jonathan Chen ----------------------------------------------------------------------- "I love deadlines. I like the whooshing sound they make as they fly by" - Douglas Adams To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message