EnglishFrenchSpanish

OnWorks favicon

srm - Online in the Cloud

Run srm in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command srm that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


srm - secure remove (secure_deletion toolkit)

SYNOPSIS


srm [-d] [-f] [-l] [-l] [-r] [-v] [-z] files

DESCRIPTION


srm is designed to delete data on mediums in a secure manner which can not be recovered by
thieves, law enforcement or other threats. The wipe algorythm is based on the paper
"Secure Deletion of Data from Magnetic and Solid-State Memory" presented at the 6th Usenix
Security Symposium by Peter Gutmann, one of the leading civilian cryptographers.

The secure data deletion process of srm goes like this:

* 1 pass with 0xff

* 5 random passes. /dev/urandom is used for a secure RNG if available.

* 27 passes with special values defined by Peter Gutmann.

* 5 random passes. /dev/urandom is used for a secure RNG if available.

* Rename the file to a random value

* Truncate the file

As an additional measure of security, the file is opened in O_SYNC mode and after each
pass an fsync() call is done. srm writes 32k blocks for the purpose of speed, filling
buffers of disk caches to force them to flush and overwriting old data which belonged to
the file.

COMMANDLINE OPTIONS


-d ignore the two special dot files . and .. on the commandline. (so you can execute
it like "srm -d .* *")

-f fast (and insecure mode): no /dev/urandom, no synchronize mode.

-l lessens the security. Only two passes are written: one mode with 0xff and a final
mode random values.

-l -l for a second time lessons the security even more: only one random pass is
written.

-r recursive mode, deletes all subdirectories.

-v verbose mode

-z wipes the last write with zeros instead of random data

LIMITATIONS


NFS Beware of NFS. You can't ensure you really completely wiped your data from the
remote disks.

Raid Raid Systems use stripped disks and have got large caches. It's hard to wipe them.

swap, /tmp, etc.
Some of your data might have a temporary (deleted) copy somewhere on the disk. You
should use sfill which comes with the secure_deletion package to ensure to wipe
also the free diskspace. However, If already a small file acquired a block with
your precious data, no tool known to me can help you here. For a secure deletion of
the swap space sswap is available.

Use srm online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    KDiff3
    KDiff3
    This repository is no longer maintained
    and is kept for archival purposes. See
    https://invent.kde.org/sdk/kdiff3 for
    the newest code and
    https://download.kde.o...
    Download KDiff3
  • 2
    USBLoaderGX
    USBLoaderGX
    USBLoaderGX is a GUI for
    Waninkoko's USB Loader, based on
    libwiigui. It allows listing and
    launching Wii games, Gamecube games and
    homebrew on Wii and WiiU...
    Download USBLoaderGX
  • 3
    Firebird
    Firebird
    Firebird RDBMS offers ANSI SQL features
    & runs on Linux, Windows &
    several Unix platforms. Features
    excellent concurrency & performance
    & power...
    Download Firebird
  • 4
    KompoZer
    KompoZer
    KompoZer is a wysiwyg HTML editor using
    the Mozilla Composer codebase. As
    Nvu's development has been stopped
    in 2005, KompoZer fixes many bugs and
    adds a f...
    Download KompoZer
  • 5
    Free Manga Downloader
    Free Manga Downloader
    The Free Manga Downloader (FMD) is an
    open source application written in
    Object-Pascal for managing and
    downloading manga from various websites.
    This is a mirr...
    Download Free Manga Downloader
  • 6
    UNetbootin
    UNetbootin
    UNetbootin allows you to create bootable
    Live USB drives for Ubuntu, Fedora, and
    other Linux distributions without
    burning a CD. It runs on Windows, Linux,
    and ...
    Download UNetbootin
  • More »

Linux commands

Ad