Ubuntu Security :: Wipe With Ex4 Journaling File System?
Feb 17, 2010
I was reading a website about securely wiping data from your hard drive with wipe on the right click menu, when I stumbled across part of the article where it talked about journaling filesystems.Article
Quote:
There are three types of journaling: journal, ordered and writeback. Using shred, with an ext3 file system presents the user with the problem of secure deletion because it can only really be effectively used with ordered and writeback journals. It also lists ext4 as a journaling file system in the article, so I looked up the wikipedia page on it and I also found this:
Delayed allocationExt4 uses a filesystem performance technique called allocate-on-flush, also known as delayed allocation. It consists of delaying block allocation until the data is going to be written to the disk, unlike some other file systems, which may allocate the necessary blocks before that step. This improves performance and reduces fragmentation by improving block allocation decisions based on the actual file size. So I am confused about this delayed allocation thing. My thoughts are that ext3 and other journaling filesystems are bad to use with secure wipe when they are set on journal mode because that writes the file to the journaling sector as well as to the hard drive. Apparently, in ext3, the default was ordered mode. I would like to know if anyone has any idea if the ext4 file system on karmic 64bit is hazardous to the security of using the wipe command.
View 2 Replies
ADVERTISEMENT
Feb 19, 2010
I have some very confidental files on my computer that I store such as credit reports, and other things. I always encrypt them with GPG, but there still is that original non-encrypted file left that needs to be deleted. I looked into tools like wipe, and shred but they all say that it really doesn't help on journaling filesystems directly on their man page.
I am not asking how to wipe the whole drive with dd or anything, but I am simply asking if there is a tool that'll delete a single file securely.
View 9 Replies
View Related
Apr 20, 2011
Is there a way to use JFFS2 (or other journaling file system) on an HDD? I'm looking for a file system feature that doesn't overwrite previously written data on an HDD.
Reason I'm asking is I'd like to use the capacity of the HDD as a log of all written activity, with the ability to retrieve old files. i.e. all writes to the HDD would be sequential.
View 1 Replies
View Related
May 7, 2011
I bought a ssd drive for my laptop, installed it, installed Windows 7, installed Kubuntu 11.04. Till then everything worked fine, and I had following partitions on my disc:
Code:
/dev/sda1 ntfs ~100MB win boot,
/dev/sda2 ntfs ~170GB win main,
/dev/sda3 extended
[code]....
It worked fine. While using 11.04 I encountered a serious bug in nvidia 270.41.06, and decided to switch to Kubuntu 10.10. I installed 10.10 on the very same /dev/sda5 (clicking a checkbox to format it). Everything worked fine, grub was installed and pointing to win7, and kubuntu 10.10. I disabled ext4 journaling as above, rebooted, and found, that grub now points to win7 and 11.04, and that system (which should have been removed during installation of 10.10) loads perfectly fine. I checked where 11.04 had been installed - still /dev/sda5. Win7 loads fine as well, so no linux on /dev/sda2 I checked if there was 10.10 kernel in /boot - no. File system on sda5 had no trace of 10.10.
I formatted sda5 with gparted, installed 10.10 again, disabled journaling and situation repeated, whole file system on sda5 changed. Enabling journaling did nothing, 10.10 didn't come back. I deleted sda3, sda5, sda6, made them again, installed 10.10, disabled journaling, and finally had my 10.10 on ext4 without journaling. So this is kind of solved, but I would still like to know that the hell happend? For the moment it looked like two file systems coexistened on one partition.
View 6 Replies
View Related
Jun 8, 2011
I'm selling my Dell Mini 10 that came with Ubuntu on it. I never really used it much, and the only sensitive things on it were some PHP files with MySQL passwords that I can change on the server if need be. I'm not familiar with command line at all, so I'm having trouble figuring out the best way to wipe the SSD. I already reinstalled the OS using the recovery disk from Dell which said it would 'delete' the contents of my hard drive. I'm not sure if the job it did is suitable. What's the best way for me to make sure my data can't be recovered? Is there anything with a GUI I can download to help with this?
View 9 Replies
View Related
Jan 25, 2010
I installed kdesvn. I then connected to my svn server. So far so good. Unfortunately because the connection is through svn it kept asking me for my password. I had put a password on the security locker, it was annoying. I googled how to wipe the security locker so I could reset the password. This is where my troubles start. I used rm ... /kde/path/to/locker
When I did this, kdesvn stopped asking for my password and times out with an error when trying to connect. I then uninstalled kdesvn and kompare, then used rm .. /kde. I then reinstalled kdesvn and the problem isn't fixed. How do I do a completely fresh installation of kdesvn + locker so that it will start asking for my password again?
View 2 Replies
View Related
Feb 1, 2011
I tried to do 'srm', 'wipe', 'shred'... whatever terminal commands to securely wipe a '/dev/sdc' (USB flash device) but it says that the device is read-only. How should I go about securely wiping it ?
View 2 Replies
View Related
Apr 16, 2011
how do i wipe the system runing ubuntu 10.04? can i use sudo fdisk tryed many times but cant find the right command .
View 7 Replies
View Related
Apr 29, 2011
I have a real love/hate relationship with Ubuntu. A few weeks back my Windows XP crashed and I had to take it to a tech to have my drive wiped and the operating system reinstalled. Just when I got XP back up and working perfectly someone told me to try Ubuntu. I made the Ubuntu 10.10 boot installation disc and installed it. Although I partitioned the drive during the install I was never able to reboot to Windows and thus lost all the files and programs I had just finished installing.
Okay. long story short: I got used to running Ubuntu and started to like it. Then this morning I was prompted to upgrade to Natty 11.04. After the install I got a message about being low on utilities and to boot in the Ubuntu Classic mode, which I was not able to do.
So now my machine is virtually non-functional. It won't run any programs but sometimes if I'm lucky I can get the computer to shut off without pulling the plug from the wall. I think I just need to wipe the drive and start over. Can someone tell me how to do this using DOS without having to make another long trip to my tech? Luckily I have a Windows XP laptop to use to access this forum.
View 1 Replies
View Related
Aug 15, 2011
I'm trying to do a simple install. Wipe out existing system and replace with 11.04 but I can't get past initial screen. Is there a different CD version I need to use? Last year I used 10.04 LTS and it worked fine, this year I wanted to start with the newest and go from there. I use Remastersys to make my own install version for 600+ laptops and I need to be able to wipe out the existing systems without effort.
View 5 Replies
View Related
Sep 16, 2010
Is there a script I can use to send a command VIA terminal to wipe an entire machine of data? If for example there is an intrusion valuable data can be at risk, it would need to be erased.
View 14 Replies
View Related
Jul 11, 2010
I'm only just starting out with the Linux ubunto 10.04 OS after yeas of wasted time on Microsoft os's,I hope I'm posting this request for help in the right forum thread, if not please accept my apologies, I have tried searching everywhere for help in installing a firmware file into the File System / lib / firmware directory and each time I get an access denied result. The file is for a DVB board and I have managed to track down the right Linux fw file for this particular piece of equipment, Could some kind helpful person either explain how to get this firmware file into the Root System directory or even send a link to another site that deals with this sort of problemI've downloaded all the programs via the Ubuntu Software Center that should be able to perform this task however all to no avail.The reason why I posted this thread in this forum board is that it (in my own personal opinion which may be wrong) seems to me to be a security problem
View 1 Replies
View Related
Oct 19, 2010
i am investigating on solutions to trace a file deletion on a computer( Linux O/S).i also need to determine weither after a file deletion or download on a computer, the computer clock had not been modified. In case a file has been downloaded on a computer and then transferred to a removable device, i need to find out the file activity. i mean i should be able to tell that the file was downloaded and transferred to a device with possible specifications.
View 2 Replies
View Related
Mar 8, 2010
I need a file locking software or atleast any command for file locking
View 1 Replies
View Related
Jul 15, 2010
Does anyone know of sfill can be used on a NTFS file system?
View 3 Replies
View Related
Feb 1, 2010
I just found that I could perform write operation using a normal user account to a file system I mounted with the commands as followed:
sudo mount -t ntfs /dev/sda1 /mnt/disk/
This is the corresponding entry in the output of "mount" command:
/dev/sda1 on /mnt/disk type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
As far as I remember, when using a normal user account, I had to use "sudo" to perform any write operations (mkdir, rm, etc) to a device mounted using "sudo". But now it seems to be changed.
Do I remember wrong, or did Karmic have any updates change this setting? (I never manually changed user settings, except that I added a root user, but I never used it.)
OS: Karmic(up2dated)
Kernel: Linux stephen-laptop 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC 2009 i686 GNU/Linux
View 4 Replies
View Related
Nov 5, 2010
What methods exits to restrict which directories a user may browse on the filesystem. I want to prevent php scripts from being able to view system files. I've seen two solutions, but neither are satisfactory:Chrooting a directory that the script is in, but this requires that all the necessary php libraries/files are moved/copied into the right place relative to the chroot directory. I don't feel that I have the technical ability to achieve this.Putting php into safe mode and disabling *nasty* php functions. But this is ineffective if just one obscure *bad* php function is missed.
View 5 Replies
View Related
Apr 4, 2010
I am still probably of the windows mindset when it comes to security. I ran rootkit this morning and received the following error messages;
[09:43:49] /usr/sbin/unhide [ Warning ]
[09:43:49] Warning: The file '/usr/sbin/unhide' exists on the system, but it is not present in the rkhunter.dat file.
09:43:49] /usr/sbin/unhide-linux26 [ Warning ]
[code]....
View 2 Replies
View Related
Nov 9, 2010
This might sound really stupid, so you'll all have to excuse my lacking knowledge. I read that USB attacks get more and more common, like putting in an USB stick with a malicious autorun script on it, and it's game over. Can AppArmor protect devices and limit their access to the file system?
View 5 Replies
View Related
Jun 23, 2009
I am interested in making the root file system is read-only. I've moved /var and /tmp file systems to another partitions. There are two files in the /etc directory that need to be writable.
These are:
I've moved this files to /var and linked it. I've added command to the /etc/rc.d/rc.local file:
That's it. Are there other solutions to make the root file system is read-only?
View 1 Replies
View Related
Jan 6, 2011
I want encrypt my fedora file system.
How to i can encrypt ext3 or ext4 file system.
View 5 Replies
View Related
Aug 16, 2011
I plan to use newsbeuter for console RSS reading.This program has a config text file where I need to store my Google account password,in order to access my Google reader.I don't feel easy at making my password readable to everyone.Is there anyway I can somehow encrypt this information ?
View 1 Replies
View Related
Jul 11, 2009
I recently installed Fedora 11 64bit and I am curious about encrypting my entire file system for security purposes. I've been on Google for a while now and I keep finding info on how to encrypt a specific folder or home directories but nothing on the entire file system (or I'm missing something big here). It's hard for me to imagine that it isn't. If so, do I need to encrypt the partition my file system is on before installing it? What software should I use? There seems to be so many, it's difficult to keep them all straight.
View 5 Replies
View Related
Feb 12, 2011
I have been trying to use my DS2490 USB to serial device with a Maxim .DG1921G thermocron with owfs. It is supposed to give me access to a virtual file system for the thermocrom without needing to launch owfs as root.
Code:
/var/log/messages gives:
Feb 8 16:22:45 norman-HP-G56-Notebook-PC kernel: [ 236.140141] usb 5-1: new full speed USB device using ohci_hcd and address 2[code]....
but if ds2490 module is loaded it works when run sudo.It seems from this that it is a lack of permissions to USB but I have tried all the methods on at http://owfs.org/index.php?page=udev etc. to overcome this and a few others but none work.I am running Ubuntu 10.10 kernel 2.6.35-22-generic #33-Ubuntu SMP
View 1 Replies
View Related
Feb 25, 2009
How can I track IPsec module's operations? Can I find such a log file or entries in Linux?
View 1 Replies
View Related
Jul 6, 2011
I am trying to install debian on a slow netbook, and I can only install to a bootable SD card. The SD card is 200x, so it should be fairly fast. I was just wondering what filesystem would be the fastest, and use the least amount of cpu. I think it should be a non-journaling one, since this is flash media. I was thinking ext2 originally, but I heard ext4 has a non-journaling option, and is faster. However does ext4 take up more cpu usage?
View 2 Replies
View Related
May 17, 2010
Does anyone know of any high-quality journaling software out there for F12KDE? I tried Keepnote, but it is not installing properly. Needs a Python(abi) dependency.
View 11 Replies
View Related
May 27, 2010
I have an Acer Aspire One with an SSD for storage. I recently installed Ubuntu on it and chose ext4 for my filesystem. Then I read that journaling on an SSD isn't the best idea, so I will try to disable journaling and I have found these intstructions [URL]..
# Create ext4 fs on /dev/sda10 disk mkfs.ext4 /dev/sda10 # Enable writeback mode. This mode will typically provide the best ext4 performance. tune2fs -o journal_data_writeback /dev/sda10
# Delete has_journal option
tune2fs -O ^has_journal /dev/sda10
# Required fsck
e2fsck -f /dev/sda10
[Code]...
I will use them on my boot partition. Are there any particularly bad parts here, or are there any missing steps? Will my boot partition be fit for being on an SSD after this? Or should I consider switching to ext2, or even reinstall it all and choose ext2 at partitioning time (I'd rather not though, since I've configured quite some stuff already)?
View 2 Replies
View Related
Mar 12, 2010
I use Slackware64 -current. I will buy a SSD drive, normaly the filesystem in my laptop is EXT4. Is there anything that I need to know? How to improve life of the SSD? Is journaling a good option? How to disable?
View 14 Replies
View Related
May 2, 2010
I bought a new SD card which I intend to put some MP3s on - except that I can't write to it because it tells me the destination is Read Only. No-probs thinks I: I'll just reformat it.
"Error creating file system: helper exited with exit code 1: cannot open /dev/mmcblk0p1: Read-only file system"
Various chmod commands all result in Read-only file system. I tried umount then mount commands, but it couldn't find it to mount once I'd unmounted it using the same /media/ file path (I assume it's the only one).
View 9 Replies
View Related