[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Removing bash (Was: /etc/init.d/network is too simple?)



-----BEGIN PGP SIGNED MESSAGE-----

On Fri, 16 Apr 1999 21:05:07 +0200, Marek Habersack wrote:

>Hmm... isn't it easier to simply make root use some kind of static shell by
>default? One shouldn't ever login as root to do everyday's life tasks, so
>the shell should guarantee that it'll run all the bourne scripts and, as a
>consequence, all the shell scripts should be rewritten to get rid of
>anything specific to any variation of shell.

    Operative word in the entire paragraph is "shouldn't."  At home I su to
root all the time to do work on it.  99.9999% of the time, I don't need
statically linked things happening yet any time I go into root it would take
up the memory.  It is only during the exception that I need statically linked
things.

    Bearing that in mind, the sane thing to do is to make the default work
well with what will happen most of the time, IE, dynamic loading, etc.  Then
provide an alternative that will work in the alternate part of the time.

>All the binaries that might be necessary in such a situation should always
>be linked statically - AFAIR, the old Slackware dists had a set of the
>standard binaries linked statically and renamed to binaryname.static. That
>would certainly be a way to go - after all, those binaries wouldn't take up
>too much disk space...

    AFAIAC, that is ALL binaries.  That is, most certainly, not an option. 
And before you say "those binaries wouldn't take up too much disk space..."
realize that not everyone has disk space to spare.  I'm quite lucky to have
2Gb on my main machine and 520mb on my laptop as it is.  I don't want more of
those drives being taken up, even for rescue operations.  

    I've chosen to install sash, which does the job.  I've not had to use it
and hopefully I never will.  But it is there *if* I need it.  The rest of the
time I su into root to work on root things and it isn't take space away from
the work that my admitedly overloaded[*] machine is doing.

[*] 64Mb, I run telnet, smtp, web, ftp, mailing lists, X and, on occasion,
VMWare on the machine all at the same time.  I need every K I can get.  :)

- -- 
         Steve C. Lamb         | I'm your priest, I'm your shrink, I'm your
         ICQ: 5107343          | main connection to the switchboard of souls.
- -------------------------------+---------------------------------------------

-----BEGIN PGP SIGNATURE-----
Version: PGPsdk version 1.0 (C) 1997 Pretty Good Privacy, Inc

iQCVAwUBNxeKyKC6xbtZwvdnAQHRWAP8Dg6ptLnBYNlGE5awonzR0Z/+Jcgq6Vvv
Oss3QEeeAQulgA8TSDStTwwyxu0lffRKm3AL8cp41y8Tc3+4ALQpDnvfpjDyk1Mh
ho7yRQJiYmHrSbiwzOsMEvDq3rYUEqtnvI/V/5hE8OokILnSDYcorU7Zn8uFrE1F
t4GAN/6AxPQ=
=dGUY
-----END PGP SIGNATURE-----



Reply to: