Friday, May 29, 2015

shred and scrub

Scrub and shred commands are useful when you are installing Linux/Unix operating systems , when the previous tech/person has used windows or other copyright softwares on that drive.

We don't know what are the pirated software, whether he/she has installed on the disk. It would be better to wipe out all data , so that the third party recovery (Micro-Soft inspections, etc )makes them very difficult.



 wget http://mirrors.kernel.org/ubuntu/pool/universe/s/scrub/scrub_2.2-2_amd64.deb
 
dpkg -i scrub_2.2-2_amd64.deb

Command:
 scrub -p dod -f /dev/

  root@Ajeesh-desktop:~# scrub -p dod -f /dev/sdb1
scrub: using DoD 5220.22-M patterns
scrub: please verify that device size below is correct!
scrub: scrubbing /dev/sdb1 75391565824 bytes (~70GB)
scrub: random  |................................................|
scrub: 0x00    |................................................|
scrub: 0xff    |................................................|
scrub: verify  |................................................|
root@Ajeesh-desktop:~#

No comments:

Post a Comment