SecureErase (Category 4 - DoE 3 - Pass Secure Erase) Macintosh HD - in Terminal app
iMac -2012 - MacOS Catalina
I want to secure-erase my entire HD, not just the free space. The end goal is to sell my computer
I entered all of the required information into terminal to activate a category 4 secure erase.
After hitting the enter key, a line appears stating: "Ownership of the affected disk is required."
My question: What ownership information is required to activate the category 4 secure erase process?
------------------------------------------------------------------------------------------------------------
Below is a copy of all of the information displayed in the active Terminal window:
------------------------------------------------------------------------------------------------------------
Last login: Wed Oct 19 22:47:31 on ttys000
[—————— @ ———— iMac ~ % diskutil secureErase 4/Volumes/Macintosh\ HD]
Usage: diskutil secureErase [freespace] level
MountPoint | DiskIdentifier | DeviceNode
"Securely" (BUT SEE "man diskutil" FOR MODERN LIMITATIONS) erases either a
whole disk or a volume's freespace. Level should be one of the following:
0 — Single-pass zeros.
1 — Single-pass random numbers.
2 — US DoD 7-pass secure erase.
3 — Gutmann algorithm 35-pass secure erase.
4 — US DoE 3-pass secure erase.
Ownership of the affected disk is required.
Note: Level 2, 3, or 4 secure erases can take an extremely long time.
—————— @ ———— iMac ~ % []
iMac