Steve,
Thank you for the insight, digging in!
On 12/19/2017 04:14 PM, Steve Coleman wrote:
With the redirection pipe operators you may need to put \( \) around
the command so that all commands in the pipe are running at elevated privs.
On 12/19/2017 04:09 PM, David wrote:
Nothing urgent, just stumped — if you've got free time to poke at a
command, thank you in advance!
I've trawled around the web, and the most sane/simple way of wiping is
wielding dd & overwriting a drive with zeroes/urandom/random/etc.
Another, is encrypted random data. That sounds more fun, though
perhaps useless.
I'm attempting to wield a command from the archlinux wiki and getting
access denied, even with sudo in front, and even when on dom0 (against
my better judgment). Any thoughts?
Source:
https://wiki.archlinux.org/index.php/Securely_wipe_disk/Tips_and_tricks#dd_-_advanced_example
Command below:
openssl enc -aes-256-ctr -pass pass:"$(dd if=/dev/urandom bs=128
count=1 2>/dev/null | base64)" -nosalt </dev/zero \
| pv -bartpes <DISK_SIZE> | dd bs=64K of=/dev/sd"X"
In this case, sd"X" is referencing a specific drive. If you run the
command, you'll want to ensure that's a drive with nothing of use on it.
p.s., I'm open to alternative suggestions. If you think a single pass
with /dev/zero is sufficient, I'm all ears or eyes, in this context.
I've never attempted to recover a drive under any circumstances, so
I'm no expert. Happy to accept the lazy way out ;)
--
You received this message because you are subscribed to the Google Groups
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/qubes-users/p1bvir%2467q%241%40blaine.gmane.org.
For more options, visit https://groups.google.com/d/optout.