From owner-freebsd-questions Wed Oct 24 8:56:13 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ns2.wananchi.com (mail.wananchi.com [62.8.64.4]) by hub.freebsd.org (Postfix) with ESMTP id 1DE5237B403 for ; Wed, 24 Oct 2001 08:55:55 -0700 (PDT) Received: from wash by ns2.wananchi.com with local (Exim 3.33 #1) id 15wQMn-000MpK-00; Wed, 24 Oct 2001 18:54:53 +0300 Date: Wed, 24 Oct 2001 18:54:53 +0300 From: Odhiambo Washington To: FBSD-Q Cc: indydog125@yahoo.com Subject: Re: ksh not starting Message-ID: <20011024185453.C84387@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , FBSD-Q , indydog125@yahoo.com References: <20011024155058.80904.qmail@web20403.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011024155058.80904.qmail@web20403.mail.yahoo.com> User-Agent: Mutt/1.3.23i X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Fortune: Good news. Ten weeks from Friday will be a pretty good day. X-Operating-System: FreeBSD 4.4-STABLE i386 X-Best-Window-Manager: XFCE X-Mailer: Mutt http://www.mutt.org/ X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 6:53PM up 9 days, 9:07, 1 user, load averages: 0.06, 0.34, 0.41 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 * Steve Austin [20011024 18:50]: writing on the subject 'ksh not starting' | 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. | | Somehow, the passwd file is not reflecting the | modification. | | Any hints on what I missed would be greatly | appreciated! alligator% which ksh /usr/local/bin/ksh Your path to ksh is wrong. Maybe you are not using FreeBSD?? -Wash S y s t e m s A d m i n i s t r a t o r -- ~\\_ Odhiambo Washington \\\\ Wananchi Online Ltd., `\\\\\ 1st Flr Loita Hse, Loita Street |\\\\\ PO Box 10286,00100-NAIROBI,KE. \\\\\|__.--~~\ Fax: 254 2 313985-9 _--~ / Fax: 254 2 313922 /~ ////// _-~~~~' E-mail: wash@wananchi.com ('-//////-// URL : http://www.wananchi.com //////(((-) GSM: 254 72 743 223 / 254 733 744 121 /////" _///" +++ There was a young man of St. John's Who wanted to bugger the swans. But the loyal hall porter Said, "Pray take my daughter! Those birds are reserved for the dons." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message