LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 04-26-2005, 05:08 PM   #1
randomx
Member
 
Registered: Feb 2003
Location: Hawaii
Distribution: Debian
Posts: 130

Rep: Reputation: 16
Question encrypted filesystem done -now what?


Hi,

I managed to a get an encrypted filesystem using cryptoAPI on the kernel 2.4.x series. I've been looking around for more info but all I get are just HOWTOs to set it up but not a "HOWTO make use of it" type of document.

steps I followed...everything has been patched, I get no errors, no nothing...so it's all good.

Code:
dd if=/dev/urandom of=testFile bs=1M count=20
Code:
losetup -e idea /dev/loop0 testFile
Code:
mkfs -t ext2 /dev/loop0
#creating mount point dir

Code:
mkdir /home/frodo/ctest
Code:
mount -o loop,encryption=idea testFile /home/frodo/ctest
so now ....my /home/frodo/ctest has a lost+found dir inside and everything...
of course, the test file is still encrypted.

QUESTIONS:

1. Now should I just dump data into the directory created? if not there, where?

2. All data should be encrypted right away? I did a test by creating a clear text file named XFILE on the ctest dir but I still can see it in plain text from a different computer on the network. Did I do anything wrong?

3. or All the data I dump into the ctest directory is in turn dumped into the testFile encrypted file? if so...can I just delete the XFILE clear text file?



thanks,

Randomx

Last edited by randomx; 04-26-2005 at 05:21 PM.
 
Old 04-27-2005, 06:13 AM   #2
twsnnva
Member
 
Registered: Oct 2003
Location: Newport News, Va
Distribution: Debian
Posts: 246

Rep: Reputation: 30
It should be encrypted. I'm not sure exactly how you set it up but you should be required to supply a password when mounting the filesystem. The reason other systems on the network can view the files is because it's mounted, and you've already supplied the password. To verify that it's encrypted, you could mount the partition directly and see if you can access anything.
 
  


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
dm-crypt: Moving Encrypted Filesystem hamish Linux - Security 2 07-21-2005 02:57 AM
Setting up encrypted filesystem zahoo Linux - Software 2 06-27-2005 01:17 PM
Encrypted Root Filesystem HOWTO and /dev filesystem tmillard Linux From Scratch 0 10-18-2004 03:58 PM
dm-crypt encrypted filesystem on a CD-ROM qwijibow Linux - General 0 09-14-2004 02:11 PM
encrypted virtual filesystem EdoardoC Linux - Security 6 04-19-2004 10:16 AM


All times are GMT -5. The time now is 11:52 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration