Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jan 1996 04:22:49 -0800 (PST)
From:      Brian Litzinger <>
To: (Jonathan M. Bresler)
Subject:   Re: How to change default shell?
Message-ID:  <>
In-Reply-To: <Pine.BSF.3.91.960103003341.3695C-100000@Aspen.Woc.Atinc.COM> from "Jonathan M. Bresler" at Jan 3, 96 00:36:55 am

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
> On Tue, 2 Jan 1996, JOHN wrote:
> > I can't find a usermod command, so first I tried directly editing the
> > /etc/passwd file.  But that did not work, so I then tried editing the
> > /etc/master.passwd file as well (should this be done?)  I just want to have
> > bash as the default shell rather than csh, but even with these fields changed,
> > csh remains the default.
> 	two steps are required.
> 	1. as root use vipw, a special version of vi, to edit the passwd file
> 	   find the entry for the user and replace /bin/csh with the path
> 	   to bash on your system.  (probably /usr/local/bin/bash)
> 	2. edit /etc/shells. add a line containing the path to bash on your
> 	   system.  (this lets a bash user ftp into the machine)

One could also try the 'chfn' command.

Brian Litzinger

Want to link to this message? Use this URL: <>