*BSD News Article 87040


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!news.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!newsfeeds.sol.net!news-xfer.netaxs.com!news.mathworks.com!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: How to change Shell?
Date: 18 Jan 1997 22:45:56 GMT
Organization: Private BSD site, Dresden
Lines: 15
Message-ID: <5brjr4$30b@uriah.heep.sax.de>
References: <5bgcem$ia3@bignews.shef.ac.uk>
  <5bh6c5$9mh@seagoon.newcastle.edu.au>
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
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:34199

c9415019@maths.newcastle.edu.au (Russell Davies) wrote:

> 2) simply edit the /etc/passwd file and change the field containing
>    the shell which is invoked when you login (typically the last field)

Of course, but this is only for an exercise in using vi.  It won't
have any effect, and in fact, it will be clobbered again next time
you're using vipw.  (hint hint :)

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