Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!newsfeed.direct.ca!su-news-hub1.bbnplanet.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!rill.news.pipex.net!pipex!oleane!jussieu.fr!univ-lyon1.fr!univ-bpclermont.fr!llaic!espel From: espel@llaic.univ-bpclermont.fr (Roger Espel Llima) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: How come I can't change the shell? Date: 18 May 1997 05:51:12 GMT Organization: LLAIC, Univ. Clermont-Ferrand 1, France Lines: 26 Message-ID: <5lm5cg$gu4@cicsun.univ-bpclermont.fr> References: <337cf6ed.96967703@207.126.101.81> <5lktm3$i0v$2@nntp1.ba.best.com> NNTP-Posting-Host: llaic.univ-bpclermont.fr Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41177 In article <5lktm3$i0v$2@nntp1.ba.best.com>, Merlin <cknight@shell3.ba.best.com> wrote: >Daniel Walton <dan@okdirect.com> wrote: > > >: I modified /etc/passwd for my non-root account to start bash as the >: default shell but it's not working. I compiled bash 2.0, installed it >: and it is running fine if I envoke it from the command line. But when >: I log in, I am still getting csh. Here's the passwd line: > >NEVER EDIT /ect/passwd > >Next time, use a util like 'chfn' Might as well explain why: in FreeBSD, the information in /etc/passwd is expected to be in sync with that of /etc/master.passwd and various database files containing hashed information. chfn, chsh, etc, are fine, but so is 'vipw' which lets you edit the thing and then updates everything that needs updated. Roger -- e-mail: espel@llaic.univ-bpclermont.fr, espel@unix.bigots.org WWW page & PGP key: http://www.eleves.ens.fr:8080/home/espel/index.html