User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
linux_installation_and_tuning [2018/02/03 17:58] external edit
linux_installation_and_tuning [2019/08/02 06:47] (current)
Line 254: Line 254:
 +Disk wipe:
 +dd if=/​dev/​urandom of=/dev/sda bs=1M
 +dd if=/​dev/​urandom of=/dev/sda bs=4096
 +dd if=/​dev/​zero of=/​dev/​sda2 bs=512 count=1
 +dd if=/​dev/​zero of=/dev/sda bs=1M
 +apt-get install coreutils
 +shred -vz -n 5 /dev/sda
 +shred -vfz -n 10 /dev/sda
 +shred -n 3 /dev/sda
 +shred -v --random-source=/​dev/​urandom -n1 /dev/sda
 +apt install wipe
 +wipe -D /​path/​to/​file.doc
 +wipe /dev/sda2
 +scrub -p nnsa|dod|bsi|old|fastold|gutmann|random|random2 fileNameHere
 +scrub /dev/sda5
 +scrub -p dod /dev/sda5 -f
 +blockdev --getsize64 /dev/sda
 + ​399717171200
 +openssl enc -aes-256-ctr -pass pass:"​$(dd if=/​dev/​urandom bs=128 count=1 2>/​dev/​null | base64)"​ -nosalt </​dev/​zero | pv -bartpes 399717171200 | dd bs=64K of=/dev/sda
 +badblocks -c 4096 -wsvf /dev/sda
 +badblocks -wsvf /​dev/​sda</​code>​
linux_installation_and_tuning.txt ยท Last modified: 2019/08/02 06:47 by anton