Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Dec 2005 12:07:46 -0800
From:      FreeBsdBeni <freebsdbeni@spymac.com>
To:        freebsd-questions@freebsd.org
Subject:   changing shell
Message-ID:  <200512111207.49635.freebsdbeni@spymac.com>

next in thread | raw e-mail | index | archive | help
--nextPart1279004.X8z51TxG9l
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,

I'm trying to get my shell changed from the default csh to bash. I followed=
=20
the instruction in the handbook, "chsh -s /usr/local/bin/bash beni" and got=
=20
the reply that the user information was updated :

root@PCBSD:/home/beni> chsh -s /usr/local/bin/bash beni
chsh: user information updated
root@PCBSD:/home/beni>=20

Did the same for root. Looked with vipw and my shell was changed to bash.=20
My /etc/shells was also modified :

beni@PCBSD:~> cat /etc/shells
# $FreeBSD: src/etc/shells,v 1.5 2000/04/27 21:58:46 ache Exp $
#
# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.

/bin/sh
/bin/csh
/bin/tcsh
/usr/local/bin/bash
beni@PCBSD:~>

But when logging out and back in again, the shell didn't change to bash. It=
's=20
still csh... I just get the "%"-sign and have to type "bash" to get the=20
bash-shell in a console.

And the weird thing is with path :

%echo $path
/sbin /bin /usr/sbin /usr/local/bin /usr/games /usr/local/sbin /usr/bin /us=
r/X11R6/bin /home/beni/bin
%

beni@PCBSD:~> echo $path

beni@PCBSD:~>

Any hints on the why of this ?
=2D-=20
Beni.

--nextPart1279004.X8z51TxG9l
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQBDnIcV98oeEzEDrEcRAvi3AJ0e5NCW0S+qctamXh0n/Ss8WzE0tQCfZJEy
8orz8m/XHjtAX7rUvdoyrbA=
=pj1U
-----END PGP SIGNATURE-----

--nextPart1279004.X8z51TxG9l--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512111207.49635.freebsdbeni>