Brain Teaser

David Messer dave at viper.Lynx.MN.Org
Fri Oct 12 00:48:18 AEST 1990


In article <Oct90.150551.3649 at x.co.uk> mike at x.co.uk (Mike Moore) writes:
 >
 > [Description of replacing /bin/sh with a script deleted]
 >
 >you can't [login] (can't exec a shell of course).
 >
 >now assume that *everyone* is set to use /bin/sh (including root), how
 >do you get out of this without rebuilding the operating system?

I think the only way out of this is to reboot from your
distribution media (floppies or whatever) and mv the
executable sh back to /bin/sh.  You shouldn't have to rebuild
the operating system though.
-- 
Spelling is for computers.           | David Messer       dave at Lynx.MN.Org -or-
                                     | Lynx Data Systems  ...!bungia!viper!dave



More information about the Comp.unix.misc mailing list