*BSD News Article 59213


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!gatech!news.mathworks.com!fu-berlin.de!zrz.TU-Berlin.DE!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: New User Admin
Date: 10 Jan 1996 00:21:32 GMT
Organization: Private BSD site, Dresden
Lines: 28
Message-ID: <4cv0qc$2pi@uriah.heep.sax.de>
References: <4caoal$bpa@news2.realtime.net> <4cth1n$cf6@sidhe.hsc-sec.fr> <4ctlao$15iq@info4.rus.uni-stuttgart.de>
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.3

schweikh@itosun.ito.uni-stuttgart.de (Jens Schweikhardt) writes:

> Another caveat: If
>  - you are root and
>  - you make bash your login shell and
>  - bash is using the shared libraries (use ldd `which bash` to find out)
> 
> then be sure to have the shared libraries on the root file system
> (they are not if you made /usr a separate partition). You will
> otherwise have some problems when during boot up 
> not all file systems can be mounted.

That's why single user is now asking for a shell.  You can always
resort to /bin/sh or /bin/csh...

Btw., you still got the chance to install say /usr/lib/libc.so.2.2
into the /usr/lib subdir of your root partition.  This way, you could
run the programs that require this file while in single user or in
system recovery state, but it's over-shadowed later by mounting /usr
on top of this directory.  (I once did this with a /usr/local/bin/tcsh
that was normally NFS-mounted.)

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