Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In Windows most overwrite programs start with the File Allocation Table and delete out 'deleted entries' before they write some kind of 'goo' over every sector of the HD.
This first step would stop 99% of the people from recovering lost data.
Is there a way to do the same in Linux?
This just takes too long...
dd if=/dev/zero of=trash.txt bs=16M; sync; rm -f trash.txt
SSDs move writes around constantly, even if the OS thinks it's writing to the same cell and overwriting the data, it isn't. The only way to securely erase an SSD is to overwrite everything, as you're doing with your dd command, and you need to run it multiple times to clear out the extra cells that the SSD firmware holds in reserve for wear leveling and backup.
Your original example of Windows programs overwriting the recently deleted files on disk will accomplish absolutely nothing on an SSD, except for increased write cycles and wear.
Thanks. But it looks like the only software to do an electronic wipe is Windows or thumb drive boot. I was hoping for something that could be installed and used on a regular "cronjob". Maybe later some Linux programer will come up with something or the manufacturers will help us Linux server guys out.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.