Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jan 1996 20:48:07 -0800 (PST)
From:      Doug White <>
Subject:   Re: How to change default shell?
Message-ID:  <>

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.


. login as the user and run `chsh' (or as root: `chsh <user>')


. su to root, run `vipw' and change the last field accordingly.

Editing the passwd file requires special lock files and such, and vipw 
and chsh make the proper changes.

Might want to change options in the `adduser' script as well.

Doug White                              | University of Oregon  
Internet: | Residence Networking Assistant    | Computer Science Major

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