*BSD News Article 74290


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Delete or modify user, how?
Date: 20 Jul 1996 16:12:30 GMT
Organization: Private BSD site, Dresden
Lines: 20
Message-ID: <4sr0he$4ae@uriah.heep.sax.de>
References: <31ED60CE.4F28@best.com> <4sl92a$53o@uriah.heep.sax.de>
  <4spr81$me6@usenet.srv.cis.pitt.edu>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

jlfox+@pitt.edu (James L Fox) wrote:

> I'm running 2.1.0 but have no luck changing my shell from csh to sh
> using chsh. I get the "..database being updated.." message but it
> never happens. /etc/passwd still says "csh" !

Are you trying to use the non-interactive options?  They were broken
in 2.1 (the effect of the option was effectively undone by the YP
initialization a dozen of lines later).  This has been fixed since.
(If you've got sources, simply move the YP initialization block before
the option evaluation.)

The interactive case always worked for me.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)