From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,18b56d376bad17fe X-Google-Attributes: gidfee84,public From: claird@Starbase.NeoSoft.COM (Cameron Laird) Subject: Re: Bizarre loss of /bin Date: 1999/01/26 Message-ID: <78karr$2h8$1@Starbase.NeoSoft.COM>#1/1 X-Deja-AN: 437076818 References: <789vee$onq$1@Starbase.NeoSoft.COM> <36AC6EE7.3C9C9CB4@ev.co.yu> Organization: NeoSoft, Inc. +1 713 968 5800 Newsgroups: comp.unix.osf.osf1 In article <36AC6EE7.3C9C9CB4@ev.co.yu>, Nikola Milutinovic 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