fixing rm * (was: Worm/Passwords)

Larry Wall lwall at jpl-devvax.JPL.NASA.GOV
Sat Nov 19 12:44:55 AEST 1988


Good grief you guys.  Leave poor /bin/rm alone.  Set your new users up
with an alias to some form of vanish or other.  It's a trivial program to
write--there's one as an example with the perl distribution.  Then just
expire your .deleted directories after a few days.

Then it doesn't matter if they type rm * .o because they can turn around
and unvanish anything they like.

Haven't we learned anything from all these whiz-bang graphics interfaces
with trashcans?

Larry Wall
lwall at jpl-devvax.jpl.nasa.gov



More information about the Comp.unix.wizards mailing list