home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.hackers
- Path: sparky!uunet!munnari.oz.au!cs.mu.OZ.AU!pmiach
- From: pmiach@ee.mu.OZ.AU (Paul Miach)
- Subject: lucky : -)
- Message-ID: <9231622.8192@mulga.cs.mu.OZ.AU>
- Sender: news@cs.mu.OZ.AU
- Organization: Electronic and Electrical Engineering - University of Melbourne
- Date: Wed, 11 Nov 1992 11:21:41 GMT
- Approved: psyCho CoMuPteRs FrOm HeLl MadE mE!
- Lines: 13
-
- This was a linux hack, and it saved me booting from a root disk (which
- I didn't want to do). Any way, someone was trying to install gcc, and managed
- to chmod 644 /bin/*. Which was pretty cool, as I only knew when 'chmod' became a
- 'Command not found', so I had effectivly lost /bin. Jumped into /usr/bin (only
- other place with binaries). /usr/bin was still there, intact :-).
- Well, /usr/bin was pretty sparce, but fortunately, included 'uuencode',
- 'uudecode', and 'elvis' (a vi clone). To get a working chmod, all I needed to do
- was 'uuencode chmod chmod > chmod.uu', vi the header to look like 'begin 755
- chmod.yes', save the changes, and type 'uudecode chmod.uu'. Now that I had a
- chmod the rest was simple.
- This is also my 1st alt.hackers post, 2 hacks for one ;-).
-
- Paul Miach.
-