*BSD News Article 91169


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!spool.mu.edu!news.sgi.com!newsfeed.nacamar.de!fu-berlin.de!unlisys!cs.tu-berlin.de!zrz.TU-Berlin.DE!IN-Berlin.DE!fub!mind.de!nostromo.in-berlin.de!ripley
From: ripley@nostromo.in-berlin.de (H. Eckert)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Changing the default shell for ...
Date: 14 Mar 1997 00:02:48 GMT
Organization: Private access site (FreeBSD 2.1-R), Berlin, Germany, Europe
Lines: 23
Message-ID: <slrn5ih5d8.ohk.ripley@nortobor.nostromo.in-berlin.de>
References: <01bbede1$59bcf1c0$664c1bcc@tony.gcr1.com> <331CC761.4893@OntheNet.com.au> <5g4l1g$t03@nexp.crl.com>
NNTP-Posting-Host: nortobor.nostromo.in-berlin.de
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: slrn (0.8.8.2 UNIX)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:37132

wself@news.crl.com (wself):
> Although it has already been mentioned, i'll say it again.  The shell for
> root should be in /bin.  Why?  /usr/local/bin may not be there when you
> need it.

This is not the only reason I'd rather stay with /bin/sh and type
"exec tcsh" after the su:

[665] % file `which tcsh`
/usr/local/bin/tcsh: FreeBSD/i386 demand paged dynamically linked executable
[666] % file `which sh`
/bin/sh: FreeBSD/i386 demand paged executable

You really do want to have a statically linked shell for root.

Greetings,
				Ripley
-- 
H. Eckert, 10777 Berlin, Germany
ISO 8859-1: Ä=Ae, Ö=Oe, Ü=Ue, ä=ae, ö=oe, ü=ue, ß=sz.
"(Technobabbel)" (Jetrel) - "Müssen wir uns diesen Schwachsinn wirklich
anhören?" (Neelix)