Date: Wed, 3 Jan 1996 00:36:55 -0500 (EST) From: "Jonathan M. Bresler" <jmb@FreeBSD.org> To: JOHN <JSINNOTT@POMONA.EDU> Cc: questions@FreeBSD.org Subject: Re: How to change default shell? Message-ID: <Pine.BSF.3.91.960103003341.3695C-100000@Aspen.Woc.Atinc.COM> In-Reply-To: <01HZJNGCT0EA8WWO1J@POMONA.EDU>
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) > Also, what is the purpose of the master.passwd file? Is it just to implement > password shadowing? yes. passwd shadowing Jonathan M. Bresler FreeBSD Postmaster jmb@FreeBSD.ORG play go. ride bike. hack FreeBSD.--ah the good life i am moving to a new job. PLEASE USE: jmb@FreeBSD.ORG
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960103003341.3695C-100000>