WARNING: DO NOT RUN THESE POSIX COMMANDS UNLESS YOU ARE EXTREMELY CAREFUL
Issue these commands carefully
dd if=/dev/zero of="file you want shreded"
sync
shred -u -v -n 5 "file you want shreded"
syncBreaking it down, the commands say this:
* dd: "move data around"
* if=: "the input file is..."
* /dev/zero: "not a file at all, but a device that outputs an unending stream of zeros"
* of=: "and the output file is..."
* sync writes any data buffered in memory out to disk. This can include (but is not limited to) modified super blocks, modified inodes, and delayed reads and writes. This must be implemented by the kernel; The sync program does nothing but exercise the sync(2) system call.
* shred Overwrites the specified FILE(s) repeatedly, in order to make it harder for even very expensive hardware probing to recover the data.
If you have any other suggestions please share your knowledge, security & privacy should be common knowledge in todays world
defcon
Does shred work on journaling filesystem?
ReplyDelete