From owner-freebsd-questions@FreeBSD.ORG Thu Dec 15 21:22:16 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 58B2E16A41F; Thu, 15 Dec 2005 21:22:16 +0000 (GMT) (envelope-from lcapps@cteresource.org) Received: from cteresource.org (mail.cteresource.org [206.136.187.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EFA943D8D; Thu, 15 Dec 2005 21:22:10 +0000 (GMT) (envelope-from lcapps@cteresource.org) Received: from ASSP-nospam (localhost [127.0.0.1]) by cteresource.org (8.11.7+Sun/8.9.3) with ESMTP id jBFLM7Q09143; Thu, 15 Dec 2005 16:22:07 -0500 (EST) Received: from 192.168.1.126 ([192.168.1.126] helo=localhost) by ASSP-nospam ; 15 Dec 05 21:22:06 -0000 Date: Thu, 15 Dec 2005 16:22:07 -0500 From: Lee Capps To: freebsd-questions@freebsd.org, questions@freebsd.org Message-ID: <20051215212206.GG27460@otis.cteresource.org> Mail-Followup-To: freebsd-questions@freebsd.org, questions@freebsd.org References: <6e4453640512151258q7167d253t82f50f423002822b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6e4453640512151258q7167d253t82f50f423002822b@mail.gmail.com> User-Agent: Mutt/1.5.11 Cc: Subject: Re: Changing shells (was: pkg_add not installing lsof (and other programs)?) 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: Thu, 15 Dec 2005 21:22:16 -0000 At 13:58 Thu 15 Dec 2005, TuxGirl wrote: > > If you install bash, be aware that you have that you have to add it > > (with it's full path, /usr/local/bin/bash) to /etc/shells befor trying > > to change your shell (with 'pw usermod yourname -s bash'). > > amon-re# pw usermod erins -s zsh > pw: no default shell available or defined > > I've added it to /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/zsh > /usr/local/bin/rzsh > /usr/local/bin/bash > > When I log in as my user (erins), if I run ps, it shows sh as the > shell running. Am I missing an important step someplace here? Try: man chsh It's just an aspect of the same command, but chsh -s bash username should work. (Worked for me!) HTH, -- Lee Capps Technology Specialist CTE Resource Center