Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Bizarre loss of /bin
@ 1999-01-22  5:00 Cameron Laird
  1999-01-25  5:00 ` Nikola Milutinovic
  0 siblings, 1 reply; 3+ messages in thread
From: Cameron Laird @ 1999-01-22  5:00 UTC (permalink / raw)


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?

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.
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.
3.  Cosmic 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.
-- 

Cameron Laird           http://starbase.neosoft.com/~claird/home.html
claird@NeoSoft.com      +1 281 996 8546 FAX



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bizarre loss of /bin
  1999-01-22  5:00 Bizarre loss of /bin Cameron Laird
@ 1999-01-25  5:00 ` Nikola Milutinovic
  1999-01-26  5:00   ` Cameron Laird
  0 siblings, 1 reply; 3+ messages in thread
From: Nikola Milutinovic @ 1999-01-25  5:00 UTC (permalink / raw)


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!



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bizarre loss of /bin
  1999-01-25  5:00 ` Nikola Milutinovic
@ 1999-01-26  5:00   ` Cameron Laird
  0 siblings, 0 replies; 3+ messages in thread
From: Cameron Laird @ 1999-01-26  5:00 UTC (permalink / raw)


In article <36AC6EE7.3C9C9CB4@ev.co.yu>,
Nikola Milutinovic  <Nikola.Milutinovic@ev.co.yu> wrote:
>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!
			.
			.
			.
Bingo.  Well, close.

True confessions time:  we have a ton of bad accounts
(between 2,000 and 10,000), because of ... well, it's
a long story.  I occasionally prune 'em, whenever I
can think of a new heuristic.  One of the accounts
that looked dispensable had /bin as its $HOME.  Ouch!
-- 

Cameron Laird           http://starbase.neosoft.com/~claird/home.html
claird@NeoSoft.com      +1 281 996 8546 FAX



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-01-26  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-22  5:00 Bizarre loss of /bin Cameron Laird
1999-01-25  5:00 ` Nikola Milutinovic
1999-01-26  5:00   ` Cameron Laird

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox