I like to use /dev/urandom to feed openssl for wiping a block device. OpenSSL output is much much faster than /dev/urandom.
I use this on Linux but it should also work on HP-UX. I've got some 11.31 servers here I can test it on if it doesn't work for you.
Code:
#!/bin/sh
if test $# -ne 1; then
echo "must supply target block device as single argument."
exit 1
fi
if ! [ -b $1 ]; then
echo $1" does not exist, or is not a block special file."
exit 1
fi
read -p "Are you absolutely sure to wipe "$1"? "
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
echo "No wipe"
exit 1
fi
echo
echo "Wiping "$1"..."
openssl enc -aes-256-cbc -pass pass:"$(dd if=/dev/urandom bs=128 count=1
2>/dev/null | base64)" -nosalt < /dev/zero > $1
echo "Done."
exit 0
#EOF
What are y'all using to wipe your solaris disks?
I am being question by IT Security, what I am using to wipe disk.
Is anyone using a 3rd party utility?
I have used the format utility in solaris previously.
But they are looking for something commercial that I can use.
Anyone have... (4 Replies)
Hi,
This weekend i left a perl script running , I was running it in a remote machine. The machine seems to have been rebooted during the weekend. When i got back on monday the entire directory containing the script was wiped out. The process had been aborted. Nobody has access to the directory... (2 Replies)
For those with the iPhones here might read up how to wipe your personal data off the phone before reselling or trade-in. ;)
source: Nuclear Elephant: iPhone Wipe
June 1, 2008: Making your iPhone Safe for Resale
Since my posts regarding the iPhone restore mode being insufficient for wiping... (0 Replies)
I am looking for recommendations on DOD compliante software to wipe disk on HP-UX. Any recommendations would be appreciated. Thank you in advance for any assistance provided. (1 Reply)
Hi Guys
I'm new here in these forums and also in Sun Solaris/Sun hardware related things.
I have some really basic questions about the way to go for "wipe" a Sun Solaris system.
I have to sell a used Sunfire v480 and I wan't to wipe the old sytem before selling it. But I'm not sure if I... (6 Replies)
Today I used Terminal (invoked from Mac OS X 10.4.11) to view some data that is secured by a password.
After exiting Terminal, it occurred to me that a vestige of the data displayed on my screen might reside in memory or in disk file ... the actual file used for stdout, for example.
Do I need... (1 Reply)
HI,
I woluld like to know is it possible to boot solairs into single usermode from cd and using format -> purge command to wipe all the disk?
please suggest or any other method ?
my requirement is to completely wipe solaris box. (4 Replies)
Hi Friends,
I am looking for a opensource/inbuilt server wipe tools similar to DBAN for the server decommissions.
I have several AIX and Linux machines to decom as part of datacenter shutdowns. But these 'DOESNT' have console access and I need to do the wipe remotely. Can you please suggest me... (9 Replies)
Another topic that bothers me on bsd is the missing of bleach-bit. Looking at what bleach-bit can clean, the new version, it wipes out all the caches of the user. May someone can give me a hint how to clean the userland in bsd and all the hidden caches for the user. shred all rubbish or LSA cookies... (0 Replies)
Discussion started by: 1in10
0 Replies
LEARN ABOUT DEBIAN
git-difftool
GIT-DIFFTOOL(1) Git Manual GIT-DIFFTOOL(1)NAME
git-difftool - Show changes using common diff tools
SYNOPSIS
git difftool [<options>] [<commit> [<commit>]] [--] [<path>...]
DESCRIPTION
git difftool is a git command that allows you to compare and edit files between revisions using common diff tools. git difftool is a
frontend to git diff and accepts the same options and arguments. See git-diff(1).
OPTIONS -y, --no-prompt
Do not prompt before launching a diff tool.
--prompt
Prompt before each invocation of the diff tool. This is the default behaviour; the option is provided to override any configuration
settings.
-t <tool>, --tool=<tool>
Use the diff tool specified by <tool>. Valid diff tools are: araxis, bc3, deltawalker, diffuse, emerge, ecmerge, gvimdiff, kdiff3,
kompare, meld, opendiff, p4merge, tkdiff, vimdiff and xxdiff.
If a diff tool is not specified, git difftool will use the configuration variable diff.tool. If the configuration variable diff.tool is
not set, git difftool will pick a suitable default.
You can explicitly provide a full path to the tool by setting the configuration variable difftool.<tool>.path. For example, you can
configure the absolute path to kdiff3 by setting difftool.kdiff3.path. Otherwise, git difftool assumes the tool is available in PATH.
Instead of running one of the known diff tools, git difftool can be customized to run an alternative program by specifying the command
line to invoke in a configuration variable difftool.<tool>.cmd.
When git difftool is invoked with this tool (either through the -t or --tool option or the diff.tool configuration variable) the
configured command line will be invoked with the following variables available: $LOCAL is set to the name of the temporary file
containing the contents of the diff pre-image and $REMOTE is set to the name of the temporary file containing the contents of the diff
post-image. $MERGED is the name of the file which is being compared. $BASE is provided for compatibility with custom merge tool
commands and has the same value as $MERGED.
-x <command>, --extcmd=<command>
Specify a custom command for viewing diffs. git-difftool ignores the configured defaults and runs $command $LOCAL $REMOTE when this
option is specified. Additionally, $BASE is set in the environment.
-g, --gui
When git-difftool is invoked with the -g or --gui option the default diff tool will be read from the configured diff.guitool variable
instead of diff.tool.
See git-diff(1) for the full list of supported options.
CONFIG VARIABLES
git difftool falls back to git mergetool config variables when the difftool equivalents have not been defined.
diff.tool
The default diff tool to use.
diff.guitool
The default diff tool to use when --gui is specified.
difftool.<tool>.path
Override the path for the given tool. This is useful in case your tool is not in the PATH.
difftool.<tool>.cmd
Specify the command to invoke the specified diff tool.
See the --tool=<tool> option above for more details.
difftool.prompt
Prompt before each invocation of the diff tool.
SEE ALSO git-diff(1)
Show changes between commits, commit and working tree, etc
git-mergetool(1)
Run merge conflict resolution tools to resolve merge conflicts
git-config(1)
Get and set repository or global options
GIT
Part of the git(1) suite
Git 1.7.10.4 11/24/2012 GIT-DIFFTOOL(1)