From owner-freebsd-questions Tue Jan 2 21:37:20 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA13905 for questions-outgoing; Tue, 2 Jan 1996 21:37:20 -0800 (PST) Received: from Aspen.Woc.Atinc.COM (aspen.woc.atinc.com [198.138.38.205]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id VAA13900 for ; Tue, 2 Jan 1996 21:37:13 -0800 (PST) Received: (from jmb@localhost) by Aspen.Woc.Atinc.COM (8.6.12/8.6.9) id AAA03727; Wed, 3 Jan 1996 00:36:56 -0500 Date: Wed, 3 Jan 1996 00:36:55 -0500 (EST) From: "Jonathan M. Bresler" X-Sender: jmb@Aspen.Woc.Atinc.COM To: JOHN cc: questions@FreeBSD.org Subject: Re: How to change default shell? In-Reply-To: <01HZJNGCT0EA8WWO1J@POMONA.EDU> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org Precedence: bulk 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