richard jasmin wrote:
> Root can remove CORE commands from the system and then the system is forever
> borked.

Yes.  Root is the superuser.  With great power comes great
responsibility.

How did you remove the coreutils from your system?

> 1) there should be a fix for this: apt-get reinstall coreutils?
> 2) this bug should never be. System should have ultimate access, not root. 
> Root
> should never be allowed to shoot self in foot.

In order to have done this you must have answered the force question.

  # dpkg --purge coreutils
  dpkg: error processing package coreutils (--purge):
   this is an essential package; it should not be removed
  Errors were encountered while processing:
   coreutils

There is already protection from removing the coreutils.  This is not
a bug in the coreutils package.

> please set immutable flag (+i) by default or imbed commands into kernel or
> something to fix this.

No.  That is not appropriate.  Instead you should exercise proper care
when using root not to shoot yourself in the foot.

If you have broken your system then I recommend using the
debian-installer in rescue mode to gain control of your system and
re-install the coreutuils.

Bob

Attachment: signature.asc
Description: Digital signature

Reply via email to