*BSD News Article 93578


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!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!cam-news-hub1.bbnplanet.com!news.bbnplanet.com!news.mathworks.com!fu-berlin.de!news-ber1.dfn.de!news-lei1.dfn.de!news-nue1.dfn.de!wuff.mayn.de!wuff.franken.de!not-for-mail
From: Matthias Buelow <token@altair.franken.de>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Changing User's shell in FreebSD
Date: 15 Apr 1997 05:21:04 +0200
Organization: KNF e.V / GeFoekoM e.V. Wuerzburg
Lines: 20
Message-ID: <87912lynrx.fsf@altair.franken.de>
References: <3352E14E.41C67EA6@cyberusa.com>
NNTP-Posting-Host: altair.franken.de
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Newsreader: Gnus v5.3/Emacs 19.34
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39074


"Jon E. Kump" <jkump@cyberusa.com> writes:

> 
> I need help changing my user's shells on my FreeBSD 2.2 machine.  When I
> edit the passwd file with the new shell and logoff and back on I'm still
> using the old shell.  The new one does not take effect.  But if I delete
> the user and the readd the user with the new shell everything is just
> fine.  Every other version of U*IX that I have used all I had to do was
> change the passwd file.

chsh(1)

Although editing passwd should do the trick, too.  Are you sure you
used vipw(8) to modify passwd?

-- 
	--token

``Good morning, doctors. I have taken the liberty of removing Windows 95 from
  my harddrive.''        - Arthur C. Clarke, imagining the first words of HAL