Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Nikola Milutinovic <Nikola.Milutinovic@ev.co.yu>
Subject: Re: Bizarre loss of /bin
Date: 1999/01/25	[thread overview]
Message-ID: <36AC6EE7.3C9C9CB4@ev.co.yu> (raw)
In-Reply-To: 789vee$onq$1@Starbase.NeoSoft.COM

Cameron Laird wrote:
> 
> Whew!  I'm still slowing my pulse.  There I was, running a
> thoroughly unremarkable account-diddling utility--and sud-
> denly I noticed /bin was missing.   Bad news; among other
> things, this means no logins for root (no /bin/sh).  Anyone
> ever seen this?

No.

> Every Digital Unix I've seen has a symbolic link /bin -> /usr/bin.
> Possible explanations for my observation:
> 1.  Something I was doing removed the link.  I
>     consider that extremely unlikely.  I've done
>     my best to reproduce the disaster, with not
>     a hint of anomaly.

Maybe a script removing $HOME/bin, executed in /, WITH root permission!

> 2.  A cracker we know is on our network got in
>     to this machine (which I believe to be un-
>     violated so far) and had an accident.

You have a cracker on your internal network? Kill him. Maybe (s)he is not
responsible for the event, but it is a good excuse. But seriously, that could be
the cause. Root privileges are required for removing /bin.

> 3.  Cosmic rays.

:-) Find the person emitting those rays.

> In any case, I was VERY lucky to have another TTY shelled to
> root at the time, and quickly re-did the symbolic link.

Oh, it is not a VERY big problem, you know.

----------------------------------------------------
login cameron
Password:

# I'm supposing user "caameron" is in system group

su root -c "/usr/bin/sh"
----------------------------------------------------

I've had couple of occasions where I gave root ZSh for shell and forgot to give
it x permission.

Nix.
-- 
"Mr Worf, fire phaser at ALL!" ... Zzzzzap!



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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-22  5:00 Bizarre loss of /bin Cameron Laird
1999-01-25  5:00 ` Nikola Milutinovic [this message]
1999-01-26  5:00   ` Cameron Laird
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