1 |
shred and dd available, but not srm etc |
2 |
|
3 |
I want to remove the user account info before the device is returned, but |
4 |
dont want to cripple the device. Filesystem is ext3 with default mount |
5 |
options, which implies its mounted with the default data=ordered, and |
6 |
according to the docs "In both the data=ordered (default) and |
7 |
data=writeback modes, shred works as usual" |
8 |
|
9 |
Would these steps be effective? |
10 |
- set root pw back to installation default |
11 |
- manually create copies of passwd and shadow (named passwd2 shadow2, NOT |
12 |
by copying files then deleting extra lines) containing only the default |
13 |
installation entries |
14 |
- shred /etc/passwd /etc/shadow |
15 |
- mv passwd2 and shadow2 to passwd and shadow |
16 |
- dd if=/dev/zero of=/blah (to blank all spare blocks on fs, dd will bail |
17 |
out once full. Will it miss info from non-fully allocated blocks?) |
18 |
- rm /blah |