On Tue, Apr 03, 2001 at 03:11:00PM +0800, R.I.P. Deaddog wrote:
> 
> Yes, touch /etc/ld.so.preload was dangerous.......... once I have a typo
> in /etc/ld.so.preload and made the whole system unusable (before I found a
> way to boot with rescue floppy).

That's a drastic means to recover.  If you are confident that you can
reproduce /etc/ld.so.preload (i.e. have a copy of it, or can remember
what was in it, etc.) recovering from a bad /etc/ld.so.preload is as
simple as doing a ">/etc/ld.so.preload" from a bash shell.  That
assumes you are logged in somewhere and have a bash shell running.

The ">/etc/ld.so.preload" "zeros" (i.e. empties out) a file.

b.


-- 
Brian J. Murrell

Reply via email to