a way to reset main profile to blank but keep everything else ?
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
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.
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.
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:
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).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.