If you want to send us your comments, please do so. Thanks
More on comments
Erase files (not recursieve)
shred can be found in the package coreutils
Directories can be removed with the --remove=[HOW] option
The HOW options (see also the man page)
shred --iterations=1 --remove --zero --verbose /foldertoshred/ shred --iterations=5 --remove --zero --verbose filetoshred
Zero is in this case: 0x00
If you only want / need to fill the file with zero's ( 0x00 ) use --iterations=0 . 0 because the --zero pass is not counted as an iteration
shred --iterations=0 --remove --zero --verbose filetoshred
Erase files and / or directories
Example
wipe -r -f -c -i -qQ 1 > /home/user/wipe.log WhatToWipe * -a abort Abort when an error occurs. Does not work in version 0.22 nor 0.23 * -c chmod Turn write permissions off if needed * -f force Do not ask for confirmation * -i verbose * -q quick Make 4 passes on each file * -Q n Set the number of passes to make. Needs -q * -r recursive
WhatToWipe can be a file or a directory
When using the option -S c , on Debian 10 Buster, this error can occur, even when executed as root
sh: 1: /dev/urandom: Permission denied Error: pipe command "/dev/urandom" must output at least 128 bytes (got 0)
Solutions:
scrub writes patterns on a disk or a file
DBAN erases entire disks
autonuke is sufficient in most cases
It is a fork of dwipe used by DBAN
nwipe --method=dodshort --verify=last --prng=mersenne --rounds=1 --logfile=/home/user/nwipe`date '+%Y%m%d.%H%M'`.txt /dev/sdx
This will also write all zero's to the drive in the last round
Check the status of the IME. See ME cleaner
Requires git, make and some dev files to be installed. About 60MB. We got an error even after installing the pciutils-devel and zlib-develthe packages:
# make Checking for development libraries: pci and zlib... not found. For RPM based distributions like Fedora, please install pciutils-devel and zlib-devel. For DEB based distributions, please install libpci-dev and zlib1g-dev. Makefile:73: recipe for target 'pciutils' failed make: *** [pciutils] Error 1
To be investigated
Main subjects on this wiki: Linux, Debian, HTML, Microcontrollers, Privacy
RSS
Disclaimer
Privacy statement
Bugs statement
Cookies
Copyright © : 2014 - 2022 Webevaluation.nl and the authors
Changes reserved.