I'm thinking of way to protect data from stealing. Is there any way to start auto disk formatting when someone enters wrong password on login? Or when enters specific password which would trigger disk formatting?
I'm thinking of way to protect data from stealing. Is there any way to start auto disk formatting when someone enters wrong password on login? Or when enters specific password which would trigger disk formatting?
I'm not sure that automatically reformatting your Ubuntu partitions when a bad password is entered is a very viable means of protecting your data. What happens if you try to log in with Caps-Lock enabled by accident?
Try something along the lines of encrypting your home partition instead.
Instructions on how to encrypt your home partition after Ubuntu is installed (if you didn't opt to do so during installation) can be found here.
Best way to securely delete files is to use for example
shred
or thesecure-delete tool
to overwrite the files content and Inode info a few times. Then the data really is gone and cant be recovered.