Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Dec 2005 13:17:15 +0200
From:      Vasile C <v.cristescu@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: changing shell
Message-ID:  <200512111317.26339.v.cristescu@gmail.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
--nextPart1933049.1hJo2M7G44
Content-Type: text/plain;
  charset="iso-8859-6"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Sunday 11 December 2005 22:07, FreeBsdBeni wrote:
> Hi,
>
> I'm trying to get my shell changed from the default csh to bash. I follow=
ed
> the instruction in the handbook, "chsh -s /usr/local/bin/bash beni" and g=
ot
> 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>
>
> Did the same for root. Looked with vipw and my shell was changed to bash.
> 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 still csh... I just get the "%"-sign and have to type "bash" to get
> the 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
> /usr/X11R6/bin /home/beni/bin %
>
> beni@PCBSD:~> echo $path
>
> beni@PCBSD:~>
>
> Any hints on the why of this ?

Try: pw user mod beni -s /usr/local/bin/bash
=2D-=20

Regards , Vasile C

If UNIX doesn't have the solution you have the wrong problem.
UNIX is simple, but it takes a genius to understand it's simplicity.

--nextPart1933049.1hJo2M7G44
Content-Type: application/pgp-signature

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

iD8DBQBDnArG0IQ7kyLk6voRAoyaAJ9m79p5I2gBLGMuz+hEPN8QT+QalgCeKn20
Tml4rnRNJkDsg1D9fjccCS0=
=a7XT
-----END PGP SIGNATURE-----

--nextPart1933049.1hJo2M7G44--



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