*BSD News Article 95694


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!uunet!in3.uu.net!206.229.87.25!news-peer.sprintlink.net!news-pull.sprintlink.net!news.sprintlink.net!Sprint!chippy.visi.com!news-out.visi.com!news.interactive.net!news
From: Jay Sachs <sachs@interactive.net>
Subject: Re: How come I can't change the shell?
Content-Type: text/plain; charset=US-ASCII
X-Newsreader: Gnus v5.4.53/XEmacs 19.14
X-Nntp-Posting-User: (Unauthenticated)
Organization: IBS Interactive, Inc.
Lines: 25
Message-ID: <87oha7cyq4.fsf@luddite.org>
References: <337cf6ed.96967703@207.126.101.81> <5lktm3$i0v$2@nntp1.ba.best.com> <5lm5cg$gu4@cicsun.univ-bpclermont.fr>
Mime-Version: 1.0 (generated by tm-edit 7.101)
X-Trace: 864051346/1668
X-Face: 6!-I&o^[[HP+0~O~}d2Zf@Pbof:|>j5^*W$QOR"&)JYcHT.@-"AhAXLg3vioV79Ri3JMp/a
	e3QD@Z$1Ot@'j1/A
X-Nntp-Posting-Host: host019.madison.interactive.net
Date: Mon, 19 May 1997 14:39:47 GMT
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41183

espel@llaic.univ-bpclermont.fr (Roger Espel Llima) writes:

> 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.

You also need to ensure the full pathname to bash is listed in
/etc/shells.

-Jay