FreeBsdBeni wrote:

> [EMAIL PROTECTED]:/home/beni> chsh -s /usr/local/bin/bash beni
> chsh: user information updated
> [EMAIL PROTECTED]:/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.

> [EMAIL PROTECTED]:~> echo $path
>
> [EMAIL PROTECTED]:~>
>
> Any hints on the why of this ?

When not invoked as a login shell, bash does not read /etc/profile or ~/.profile.

--
James Bailie <[EMAIL PROTECTED]>
http://www.jamesbailie.com
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to