Linux

ID #1041

How to restrict "rm -rf *" command in Linux/Unix ?

You can create a script named rm and replace the original rm.
inside the new script create if condition that check and pass the flags to the rm.

Tags: restrict, rm -rf, script

Related entries:

Last update: 2009-07-25 07:28
AuthorLuke Francis
Revision: 1.0

Digg it! Print this record Send FAQ to a friend Show this as PDF file
Propose a translation for Propose a translation for
Please rate this FAQ:

Average rating: 0 out of 5 (0 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry