From owner-freebsd-questions@FreeBSD.ORG Sun Dec 11 14:56:47 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 770F716A41F for ; Sun, 11 Dec 2005 14:56:47 +0000 (GMT) (envelope-from jimmy@jamesbailie.com) Received: from smtp105.rog.mail.re2.yahoo.com (smtp105.rog.mail.re2.yahoo.com [206.190.36.83]) by mx1.FreeBSD.org (Postfix) with SMTP id AB70243D66 for ; Sun, 11 Dec 2005 14:56:45 +0000 (GMT) (envelope-from jimmy@jamesbailie.com) Received: (qmail 44114 invoked from network); 11 Dec 2005 14:56:45 -0000 Received: from unknown (HELO ?70.29.126.205?) (jazzturk@rogers.com@70.29.126.205 with plain) by smtp105.rog.mail.re2.yahoo.com with SMTP; 11 Dec 2005 14:56:45 -0000 Message-ID: <439C3E2C.80302@jamesbailie.com> Date: Sun, 11 Dec 2005 09:56:44 -0500 From: James Bailie User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051112) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <200512111207.49635.freebsdbeni@spymac.com> In-Reply-To: <200512111207.49635.freebsdbeni@spymac.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: changing shell X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Dec 2005 14:56:47 -0000 FreeBsdBeni wrote: > root@PCBSD:/home/beni> chsh -s /usr/local/bin/bash beni > chsh: user information updated > root@PCBSD:/home/beni> This should work if you are truly root, as the prompt suggests. If you are not, then you need to modify /etc/shells to include bash before invoking chsh. > beni@PCBSD:~> echo $path > > beni@PCBSD:~> > > Any hints on the why of this ? When not invoked as a login shell, bash does not read /etc/profile or ~/.profile. -- James Bailie http://www.jamesbailie.com