LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-22-2009, 02:41 PM   #1
Average_Bear
LQ Newbie
 
Registered: Aug 2009
Posts: 3

Rep: Reputation: 0
smem, sfill, sswap Centos


Hi all,
Thanks for your previous responses, they did help. I've been trying to wipe free space, the commands smem, sfill, and sswap are not recognized. I tried to install them using yum install and it came back saying something like "no package available" Can I get these packages? Or are there similar packages?

Thanks
 
Old 08-22-2009, 05:05 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530
AFAIK a secure_delete package is not available from the RPMForge, EPEL or Karan repos. Shouldn't be hard to build a rpm for THC tools though.
 
Old 09-17-2009, 03:50 PM   #3
irlandes
Member
 
Registered: Nov 2003
Posts: 117

Rep: Reputation: 16
That would be wonderful.

Quote:
Originally Posted by unSpawn View Post
AFAIK a secure_delete package is not available from the RPMForge, EPEL or Karan repos. Shouldn't be hard to build a rpm for THC tools though.
That would be excellent if someone could. There is a tarball from THC. Everyone says it will not 'make' on CentOs or any 2.6 kernel, that it is written for the old 2.4 kernel. I am not sure of that last part, but I tried it on CentOs 5.3 and for sure it crashed as they said.

It is available for K/Ubuntu by apt-get: sudo apt-get install secure-data.

AND it will apparently run from a live CD, also from another partition in multi-boot.

So, in my case, I am going to see if I can run it from another partition with Kubuntu 8.04 on my CentOs partition.

I might also see if I can get it downloaded on Puppy, and do a remaster to have Puppy with sfill et al.

Last edited by irlandes; 09-17-2009 at 03:51 PM.
 
Old 09-17-2009, 05:38 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
for wiping free space what is wrong with the built in "shred" and "dd"
--- should work ---
Code:
dd if=/dev/null of=/oneBigFile.bin 
shred -n 1 -zv /oneBigFile.bin
i just use one of my 5+ gig size planet maps / data sets and copy/paste them over and over to fill up the drive.

Last edited by John VV; 09-17-2009 at 05:40 PM.
 
Old 09-17-2009, 09:10 PM   #5
irlandes
Member
 
Registered: Nov 2003
Posts: 117

Rep: Reputation: 16
Quote:
Originally Posted by John VV View Post
for wiping free space what is wrong with the built in "shred" and "dd"
--- should work ---
Code:
dd if=/dev/null of=/oneBigFile.bin 
shred -n 1 -zv /oneBigFile.bin
i just use one of my 5+ gig size planet maps / data sets and copy/paste them over and over to fill up the drive.
I am not an expert. I have been reading stuff all day.

An example:

http://www.infosec.jmu.edu/reports/j...r-2006-002.pdf

Also the man pages. There are warnings that ext3 cannot be reliably wiped with any file shred or srm, apparently, and I am not sure of this, because sometimes it does not write over exactly the same bits for the whole file. I am not sure of that. I was sure on Win 98, because I studied it with Norton's diskedit.

I am trying to sort this out now.

But, whatever is the exact reason, all the papers and boards I read said that on ext3, plus some ntfs systems, one cannot trust it.

sfill was created to answer all these issues. The only thing sfill can't do is fill the slack space which in some cases is filled with previous data, even random RAM data. sfill does not take care of this slack space, at least I don't think so. I did bump into one proprietary utility, which cost money, which did wipe the slack space on Windows systems.



I am also not sure about the Big File over-write. I have read over the years the reason there is no significant fragmentation in Linux is because the files are stored first in available areas big enough to hold the entire file. If that is true, and I do not know it is, then small files which have been deleted will not be written to, period. It will first look for a very large space.

Windows 98, or DOS, I am starting to forget, after booting will put the first cluster of a file on the first free cluster, then look for the next available cluster, for the second cluster to be stored. You can see this is why there is a tremendous amount of fragmentation on a MS HD.

As I said I do not know to my satisfaction if it is true a big file is going into a big hole, instead of strewing it all over the disk as windows (did).


I would like to make it clear that I wish I had much more information than I do.

I am going, IF I HAVE TIME, to do some work with hexedit and file saves, etc. This is important to me, if only because I am a curious cuss.



I will say with certainty that if this is important to you, do not assume anything, because it may well not be correct.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
sfill - secure free disk and inode space wiper john99 Linux - Software 3 02-11-2011 12:29 PM
LXer: PV-Grub on CentOS 5.2 PV DomU at Xen 3.3 CentOS 5.2 Dom0 (all 64-bit) LXer Syndicated Linux News 0 10-05-2008 11:12 PM
printer setup from Centos 5 to Vista home prem. on a headless centos pc ncsuapex Red Hat 6 03-10-2008 12:40 PM
LXer: Install CentOS 5 DomU on CentOS 5 Dom0(64 bit) from NFS share LXer Syndicated Linux News 0 11-09-2007 04:41 AM
sfill from THC and gam-server swcng2001 Linux - Security 1 05-08-2006 05:38 AM


All times are GMT -5. The time now is 05:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration