[Gllug] Stupid shell question
tet at accucard.com
tet at accucard.com
Tue Jun 18 15:37:53 UTC 2002
>I know the answer to this is 'replace bash (or any other
>shell) with a doctored version which will log this'
Not replacing or doctoring it, per se, but along the same lines...
Write small shim library that calls the real exec, and logs an
appropriate error should it return. Then insert that with LD_PRELOAD.
Of course, you'd need a basic knowledge of C to do that, but it's the
only solution that immediately springs to mind.
Tet
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list