From owner-freebsd-questions@FreeBSD.ORG Sun Dec 11 11:17:27 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 63E4816A41F for ; Sun, 11 Dec 2005 11:17:27 +0000 (GMT) (envelope-from v.cristescu@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49A6E43D75 for ; Sun, 11 Dec 2005 11:17:22 +0000 (GMT) (envelope-from v.cristescu@gmail.com) Received: by nproxy.gmail.com with SMTP id x4so449142nfb for ; Sun, 11 Dec 2005 03:17:21 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:message-id; b=oSFmiaz7V+4ne2edfFZtgyq3PVghh+NTTkQD9spWphoMABt1SHDDTt+3jBroXX3o3precof7GqQD06OI+os2vb94Ku8LGTsKIx/fDehgpeyNgSTUHe+P7zbjbZ51mBKvj/qdLrUwdMvLwhmZSMGmAmkHQFmfLCOMEp9I7APQyAk= Received: by 10.48.255.12 with SMTP id c12mr655018nfi; Sun, 11 Dec 2005 03:17:20 -0800 (PST) Received: from ?172.23.4.178? ( [193.226.6.229]) by mx.gmail.com with ESMTP id c10sm1342802nfb.2005.12.11.03.17.19; Sun, 11 Dec 2005 03:17:20 -0800 (PST) From: Vasile C To: freebsd-questions@freebsd.org Date: Sun, 11 Dec 2005 13:17:15 +0200 User-Agent: KMail/1.8.3 References: <200512111207.49635.freebsdbeni@spymac.com> In-Reply-To: <200512111207.49635.freebsdbeni@spymac.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1933049.1hJo2M7G44"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200512111317.26339.v.cristescu@gmail.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:17:27 -0000 --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--