From owner-freebsd-questions@FreeBSD.ORG Mon Apr 24 14:12:07 2006 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 05BBA16A401 for ; Mon, 24 Apr 2006 14:12:07 +0000 (UTC) (envelope-from cruzweb@gmail.com) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.200.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9509343D46 for ; Mon, 24 Apr 2006 14:12:06 +0000 (GMT) (envelope-from cruzweb@gmail.com) Received: from [192.168.42.11] (c-68-61-214-252.hsd1.mi.comcast.net[68.61.214.252]) by comcast.net (sccrmhc12) with ESMTP id <2006042413454401200mfrl4e>; Mon, 24 Apr 2006 13:45:44 +0000 Message-ID: <444CD688.4000005@gmail.com> Date: Mon, 24 Apr 2006 09:45:44 -0400 From: John Cruz Organization: Cruz Web Development User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 CC: freebsd-questions@freebsd.org References: <51d7a5160604230303o514d2cabn90179490fc5698f@mail.gmail.com> <20060423094928.2db21ce3.wmoran@collaborativefusion.com> <51d7a5160604230832n310a9ecdkdb49ea301cf1430d@mail.gmail.com> <51d7a5160604230925l1b60cd28v642b00749850514c@mail.gmail.com> <20060424091417.dbb05a6f.wmoran@collaborativefusion.com> In-Reply-To: <20060424091417.dbb05a6f.wmoran@collaborativefusion.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Changing Default Shell X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: john@cruzweb.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2006 14:12:07 -0000 I'm running freeBSD 6 release (FreeBSD taurus.cruz 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Mon Jan 2 01:42:42 EST 2006 root@fileserv.cruz:/usr/obj/usr/src/sys/FILESERV i386) and for whatever reason, i'm stuck in bourne. Sure, I can type "bash" and open a new shell that way, but it will not let me change the default at all :( I've tried bin, csh, and tsch, all with the same result: invalid argument. Here are my shells (from /etc/shells) /bin/sh /bin/csh /bin/tcsh /usr/local/bin/bash I try to run chsh with flags, and I get this: $ chsh -s /usr/local/bin/bash Password: chsh: entry inconsistent chsh: pw_copy: Invalid argument I try to run without flags,and it gives me /etc/pw.ej2LjB: 7 lines, 150 characters. Password: chsh: entry inconsistent chsh: pw_copy: Invalid argument Any help on this is much appreciated. -John