I have an Ubuntu Latitude E6410 and for the past month and a half I have had other peoples data and online accounts on it. I don't want to remove something if it could cause any damage to the operating system. I also would like to know how to wipe the computer along with all the accounts and data (but with the Operating System perfectly safe) Can someone help?
Asked
Active
Viewed 2.4k times
1 Answers
5
Here is my suggestions:
First create a new user for yourself:
sudo useradd -m newuser sudo passwd newuser
Then add yourself to
sudo
group:sudo gpasswd -a newuser sudo
logout from your user account and login with your new user.
- now go to
/home
and remove everything except your new user's home directory, or useuserdel -r username
to remove other users.
Now all your data are gone however you have a running system with a freshly new user.

Ravexina
- 55,668
- 25
- 164
- 183
/opt
and all other changes? is there any way to make ubuntu completely new – Ali Shefaee Aug 12 '23 at 09:15