Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney)
Subject: Re: Ksh for root?
Date: 1999/01/10	[thread overview]
Message-ID: <778ri1$sj4$1@node2.nodak.edu> (raw)
In-Reply-To: 3697621A.FA174922@EUnet.yu

In article <3697621A.FA174922@EUnet.yu>,
Nikola Milutinovic  <milutinn@EUnet.yu> wrote:
> Hans Westerback wrote:
> > 
> > Hi,
> > 
> > I've noticed that on some systems root has been changed to use korn
> > shell. But earlier I have heard that root should always run Bourne
> > shell. Is this something that has changed in later versions? Are there
> > any problems with running korn shell? What's the official view?
> 
> Officially, you should use "the most system" shell for root and those
> are /bin/sh and /usr/bin/sh. The first is statically linked.

Historically on most versions of Unix that was true (/bin/sh was static), but
that's not true on Digital Unix:

05:14pm dogbert autodeps$odump -Dl /bin/sh


                        ***LIBRARY LIST SECTION***
        Name             Time-Stamp        CheckSum   Flags Version
/bin/sh:
        libc.so      Dec 29 17:09:30 1997 0x5e955f9b     0 osf.1


In fact, most of the stuff in /sbin is not statically linked either.

libc.so resides in the root filesystem (in /shlib) so it's available whenver
the root filesystem is available, but there still is that chance that if
something horrible goes wrong with your shared C library (like during the
patch process) you may not even be able to get a working shell.

On Digital Unix init always starts the Bourne shell when in single user mode,
so I've been pretty comfortable setting root's shell to ksh (a good
compromise) and moving root's home directory to /root (on /, of course) on
all our DU machines.

Tim
-- 
Tim Mooney                              mooney@dogbert.cc.ndsu.NoDak.edu
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J1, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164



      parent reply	other threads:[~1999-01-10  5:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-08  5:00 Ksh for root? Hans Westerback
1999-01-08  5:00 ` Waco Johnny D
1999-01-09  5:00 ` Nikola Milutinovic
1999-01-09  5:00   ` Charles M Richmond
1999-01-10  5:00   ` Tim Mooney [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox