LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-23-2016, 01:15 PM   #1
Shadowmeph
Member
 
Registered: May 2008
Location: West Coast Canada
Posts: 282

Rep: Reputation: 29
a way to reset main profile to blank but keep everything else ?


A while back I received a PC which I fixed ( hobby of mine) and installed Linux Mint on it, I am currently a windows user and haven't played around with Linux in a long time, but for testing to make sure that the system was stable I installed a bunch of games and web browsers and such,but doing so I ended up getting addicted to playing around with Linux and ended up putting some personal info via web browsing plus other things I am planing on donating this PC to the Building I live in but I am not sure how to reset everything so that the profile I use is gone and all of the web browser settings ( bookmarks and such) are also gone, I don't want any of my personal info on this system. I also would like tto keep all of the games on the system.
Is there a while to do this like removing or resetting my profile so that everything will still be there but my info will not , or will I have to reinstall Linux then reinstall everything all over again?
I am currently going to be heading to work so I might not be able to get back to the forum until tomorrow so if I don't reply this is why

Last edited by Shadowmeph; 03-23-2016 at 01:16 PM.
 
Old 03-23-2016, 01:23 PM   #2
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
when i donated to good will. i used dd to write 0's to the whole disk and re-installed fedora (too many horror stories of people who fished taxed returns/naughty photos from donated pc's).

i think casually you would only need to create a new user then delete the old user and remove the /home/shadowmeph directory.
 
Old 03-23-2016, 01:29 PM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Boot with a LiveCD and run gparted.
Make it your b*tch.
 
Old 03-23-2016, 02:10 PM   #4
Shadowmeph
Member
 
Registered: May 2008
Location: West Coast Canada
Posts: 282

Original Poster
Rep: Reputation: 29
I guess that
it is allot safer to just reinstall the hole OS
 
Old 03-23-2016, 02:40 PM   #5
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
If you're concerned about your personal data, then I would throw a live CD/DVD/USB stick of Darik's Boot and Nuke at the disk before re-partitioning, re-formatting and re-installing.
 
Old 03-23-2016, 02:52 PM   #6
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by Shadowmeph View Post
A while back I received a PC which I fixed ( hobby of mine) and installed Linux Mint on it, I am currently a windows user and haven't played around with Linux in a long time, but for testing to make sure that the system was stable I installed a bunch of games and web browsers and such,but doing so I ended up getting addicted to playing around with Linux and ended up putting some personal info via web browsing plus other things I am planing on donating this PC to the Building I live in but I am not sure how to reset everything so that the profile I use is gone and all of the web browser settings ( bookmarks and such) are also gone, I don't want any of my personal info on this system. I also would like to keep all of the games on the system.
Is there a while to do this like removing or resetting my profile so that everything will still be there but my info will not , or will I have to reinstall Linux then reinstall everything all over again?
I am currently going to be heading to work so I might not be able to get back to the forum until tomorrow so if I don't reply this is why
in your home directory that you have for that system, just delete everything within it.

better yet you could even
Code:
adduser NewGenericUserName
passwd NewGenericUserName

then log in to that account, then 
userdel -r OldUsername
thus deleting everything within that account, all of the config files that hold information are gone. this is all done in root or sudo command line in a terminal stuff

Keeping the system intact. or you could do the DOD wipe on your HDD then leave it blank for them to figure it out, or better yet. Put windows 3.1 on it afterwords.

Last edited by BW-userx; 03-23-2016 at 03:03 PM.
 
Old 03-23-2016, 03:02 PM   #7
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by BW-userx View Post
all of the config files that hold information are gone.
I beg to differ, BW. Some of the inode table info is changed for each file, marking the file as deleted and rendering it invisible to a normal working system, but most of the file's inode table and, more importantly, its underlying data blocks, is not deleted.

If you're concerned about data privacy, then you should really be over-writing the remaining info on the device.
 
Old 03-23-2016, 03:08 PM   #8
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by hydrurga View Post
I beg to differ, BW. Some of the inode table info is changed for each file, marking the file as deleted and rendering it invisible to a normal working system, but most of the file's inode table and, more importantly, its underlying data blocks, is not deleted.

If you're concerned about data privacy, then you should really be over-writing the remaining info on the device.

bookmarks and such... what kind where/are they

well yes you're right of course, but I did mod my post, as well as most do not go looking that deep into a used system. but to get rid of the bookmarks and such DOD wipes are good too.

Last edited by BW-userx; 03-23-2016 at 03:11 PM.
 
Old 03-23-2016, 03:16 PM   #9
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Quote:
Originally Posted by hydrurga View Post
I beg to differ, BW. Some of the inode table info is changed for each file, marking the file as deleted and rendering it invisible to a normal working system, but most of the file's inode table and, more importantly, its underlying data blocks, is not deleted.

If you're concerned about data privacy, then you should really be over-writing the remaining info on the device.
Yes absolutely he should wipe the remaining space on the disk, but that's pretty straight forward. Once all of the files/dirs you want to clean up have been deleted, just boot to a live cd, mount the volume, and as root run:
Code:
dd if=/dev/zero of=/path/to/mount/point/verybigfile.bin bs=1M
It'll throw an error when the disk runs out of space, at which point just delete the file ("/path/to/mount/point/verybigfile.bin" in the above example). That'll overwrite any files marked as deleted with zero so it's irrecoverable (without very specialized equipment at least).
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
serial communication reset /etc/profile wowy Programming 4 04-30-2015 02:16 AM
[SOLVED] profile does not exist. reset /home permissions 4xjbh Linux - Desktop 1 02-13-2014 07:51 AM
Messed up my gnome-terminal, need to reset the profile Heru-kun Linux - Software 6 04-19-2009 11:15 PM
Help me to reset user profile sittings ? rahuldevalone Linux - Enterprise 1 10-09-2007 01:19 PM
help me in User profile reset. rahuldevalone Linux User Groups (LUG) 3 10-09-2007 12:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration