Date: Sun, 11 Dec 2005 09:56:44 -0500 From: James Bailie <jimmy@jamesbailie.com> To: freebsd-questions@freebsd.org Subject: Re: changing shell Message-ID: <439C3E2C.80302@jamesbailie.com> In-Reply-To: <200512111207.49635.freebsdbeni@spymac.com> References: <200512111207.49635.freebsdbeni@spymac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jimmy@jamesbailie.com> http://www.jamesbailie.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?439C3E2C.80302>