Help with (relatively) securely deleting files?

From: Bev A. Kupf (bevakupf_at_myhome.net)
Date: 04/10/05


Date: Sun, 10 Apr 2005 18:39:26 GMT

I have an account on a machine that doesn't have srm, and I cannot
install it. So all I trying to recreate is the level of "security"
offered by srm in deleting one particular directory tree (for a
project I'm not authorized to work on anymore).

The machine doesn't have quotas enabled. Can I just do an "rm -r ~/tree",
and then follow that with:
`dd if=/dev/urandom of=random_file bs=32768 count=###### ; rm random_file`

(count depending on the number of free blocks on the device that my
home directory is on)

I can recreate and delete the random_file half a dozen times.
Will this be sufficiently equivalent to `srm -r ~/tree`?

Beverly

-- 
Many a smale maketh a grate -- Geoffrey Chaucer