Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 2006 09:45:44 -0400
From:      John Cruz <cruzweb@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Changing Default Shell
Message-ID:  <444CD688.4000005@gmail.com>
In-Reply-To: <20060424091417.dbb05a6f.wmoran@collaborativefusion.com>
References:  <51d7a5160604230303o514d2cabn90179490fc5698f@mail.gmail.com>	<20060423094928.2db21ce3.wmoran@collaborativefusion.com>	<51d7a5160604230832n310a9ecdkdb49ea301cf1430d@mail.gmail.com>	<51d7a5160604230925l1b60cd28v642b00749850514c@mail.gmail.com> <20060424091417.dbb05a6f.wmoran@collaborativefusion.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?444CD688.4000005>