From owner-freebsd-questions@FreeBSD.ORG Sun Dec 11 11:24:11 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 9464716A41F for ; Sun, 11 Dec 2005 11:24:11 +0000 (GMT) (envelope-from freebsdbeni@spymac.com) Received: from xizor.is.scarlet.be (xizor.is.scarlet.be [193.74.71.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF19E43D58 for ; Sun, 11 Dec 2005 11:24:10 +0000 (GMT) (envelope-from freebsdbeni@spymac.com) Received: from ([62.235.228.71]) by xizor.is.scarlet.be with ESMTP id jBBBO9r29109 for ; Sun, 11 Dec 2005 12:24:09 +0100 From: FreeBsdBeni To: freebsd-questions@freebsd.org Date: Sun, 11 Dec 2005 12:23:45 -0800 User-Agent: KMail/1.8.3 References: <200512111207.49635.freebsdbeni@spymac.com> <200512111317.26339.v.cristescu@gmail.com> In-Reply-To: <200512111317.26339.v.cristescu@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1831695.ODJzcyjD4T"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200512111223.47796.freebsdbeni@spymac.com> 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 11:24:11 -0000 --nextPart1831695.ODJzcyjD4T Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 11 December 2005 03:17, Vasile C wrote: > 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 > > followed the instruction in the handbook, "chsh -s /usr/local/bin/bash > > beni" and got 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 bas= h. > > 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 hey, that worked ! Thanks. =2D-=20 Beni. --nextPart1831695.ODJzcyjD4T Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDnIrT98oeEzEDrEcRAvy2AJ0TLgXGpMG7wUflk1uQJ0WLviCF4wCfYuoo e4FMcgoKr6u7bjIHvpy19kQ= =PnmF -----END PGP SIGNATURE----- --nextPart1831695.ODJzcyjD4T--