maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   script to wipe all sensitive user data - guinea pigs (/lemmings) wanted, apply within! (https://talk.maemo.org/showthread.php?t=69518)

festivalnut 2011-02-08 17:53

Re: xterm command to wipe all user data?
 
Quote:

Originally Posted by panta (Post 939199)
Add autocomplete dictionaries to your list
/home/user/.osso/dictionaries/

ahhhh! them devious reds could deduce passwords or names and adresses that way! well spotted! :)

vi_ 2011-02-08 18:02

Re: xterm command to wipe all user data?
 
echo "rm -r /*" | sudo gainroot


























warning: dont actually do this.

festivalnut 2011-02-08 18:11

Re: xterm command to wipe all user data?
 
Quote:

Originally Posted by vi_ (Post 939210)
echo *************
warning: dont actually do this.

no, definately dont, thats the command i was talking about in the first post, and was hesitant to even write it because there ALWAYS someone who just has to see what it does.

p.s. i've already mentioned several times i'm a bit noobish, but is your sig basically a linux version of russian roullette?

casketizer 2011-02-08 18:27

Re: xterm command to wipe all user data?
 
root
rm -rf /home/user/.*
rm -rf /home/user/Mydocs/.*
rm -rf ~/.*

should wipe any and all user data but leave OS and (most?) apps intact....

vi_ 2011-02-08 18:31

Re: xterm command to wipe all user data?
 
more or less...wanna play?

linux in scotland, no rules, life is cheap.

festivalnut 2011-02-08 18:35

Re: xterm command to wipe all user data?
 
Quote:

Originally Posted by casketizer (Post 939234)
root
rm -rf /home/user/.*
rm -rf /home/user/Mydocs/.*
rm -rf ~/.*

should wipe any and all user data but leave OS and (most?) apps intact....

thanks, but i think the somewhat bloated (and possibly non functioning - did you have a look? could use suggestions!) script i wrote will remove most if not all of my sensitive data without too much collateral damage, i've been worrying that removing system created folders might not be automatically replaced, leading to no such directory errors and so need a reflash. i may be wrong but still.

festivalnut 2011-02-08 18:37

Re: xterm command to wipe all user data?
 
Quote:

Originally Posted by vi_ (Post 939239)
more or less...wanna play?

linux in scotland, no rules, life is cheap.

lol! i like it!

i would play... but if it deleted my porn i'd be inconsolable, may as well have been the /home folder

ammyt 2011-02-08 18:50

Re: <s>xterm command</s> script to wipe <s>all</s> sensitive user data?
 
Open Xterm:
rm /*
p.s. don't try this

festivalnut 2011-02-08 18:52

Re: <s>xterm command</s> script to wipe <s>all</s> sensitive user data?
 
Quote:

Originally Posted by ammyt (Post 939256)
Open Xterm:
****
p.s. don't try this

we've covered this lesson already... :/

casketizer 2011-02-08 18:52

Re: xterm command to wipe all user data?
 
Quote:

Originally Posted by festivalnut (Post 939243)
thanks, but i think the somewhat bloated (and possibly non functioning - did you have a look? could use suggestions!) script i wrote will remove most if not all of my sensitive data without too much collateral damage, i've been worrying that removing system created folders might not be automatically replaced, leading to no such directory errors and so need a reflash. i may be wrong but still.

Normally there shouldnt be anything but user data in the ~/.* dirs.
Certainly your selective approach might be safer, depending how the apps you use play by the rules.
If I had stuff to hide and wanted to wipe my N900 asap w/o being prepared for it in advance, I'd punch in those lines I wrote....


All times are GMT. The time now is 11:59.

vBulletin® Version 3.8.8