[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: root's shell
Alexander L. Belikoff wrote:
> It's exactly the shared libs issue. No matter how badly screwed your
> system is, root should be able to login and run minimal administration
> tools.
I'm not sure I follow you - shared libraries can be (and are)
on the root filesystem. They can be screwed up just like any
other file on the system, and so is the shell. When any of the
"important" system utilities can't be used then that's were you
use the rescue disk (you do have a rescue disk, do you?)
You might say that you don't trust Linux' shared library support,
but that would be way too paranoid IMHO, and then again you can
have a copy stashed away somewere else.
> 1. All administration (section 8) tools must be statically linked
> 2. There should be statically linked copies of most important
> utilities (ls, rm, (b)ash, cat, vi, (s)ed, etc.) in /sbin
> 3. Root's shell MUST be statically compiled
What for? It's just a waste of disk space, RAM (and consequentially
CPU) and makes it harder to upgrade them with better shared libraries.
If you are worried about their usability in case of a disk crash then
have a copy on a rescue disk or a backup partition.
Ditto.
--Amos
--Amos Shapira | "Of course Australia was marked for
| glory, for its people had been chosen
amos@gezernet.co.il | by the finest judges in England."
| -- Anonymous
Follow-Ups:
References: