lkml.org 
[lkml]   [1996]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: severe ld.so bug !!

On Wed, 18 Dec 1996, Harald Koenig wrote:

> > i recall working wonders with 'ln' and 'mv' on a sunos box with corrupted
> > libraries. looking at a sunos 4.1.3 box i see that init=/bin/sh would
> > have worked (wow! cuz /bin/sh is staticly linked as it should be). and a
> > handful of useful things in /bin and /etc are static (such as mount,
> > ifconfig, update, fsck, hostname, ldd, tar, sh, mv, ln). you can do lots
> > with these.

Install sash, the safe shell. It features all your favourite commands
like mv,ln,tar,ls,cd,cp etc. It's also one staticly linked binary.

You could even hack the kernel so it panics to /bin/sash instead of
/bin/sh ;)

Paul


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.048 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site