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 12-05-2005, 04:38 PM   #1
black_man
LQ Newbie
 
Registered: May 2003
Location: Iasi, Romania
Distribution: debian
Posts: 27

Rep: Reputation: 15
encrypted file system


hi!
i want to have a file which i can mount via an encrypted loop device and make a file system on it.
so i followed the steps:
# dd if=/dev/zero of=file bs=100M count=10
# losetup -e blowfish /dev/loop/0 file
Password:
# mkfs.reiserfs /dev/loop0
# mount /dev/loop0 /mnt/efs

and it works. but! now i want to place a line in fstab so a regular user can mount /mnt/efs, enter the password, and read or write to it.
so i added this line to fstab:
/part/file /mnt/efs auto loop,encryption=blowfish,noauto,user 0 0

i do (as a regular user):
$ mount /mnt/efs
Password:

then i do:
$ touch /mnt/efs/test
touch: cannot touch `/mnt/efs/test': Permission denied

the mount command shows it was mounted rw. what must i add to fstab in order to make it work ?
thanx !
 
  


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
encrypted file system 212121 Linux - Newbie 4 08-27-2005 05:18 PM
encrypted file system black_man Linux - Software 7 02-23-2004 05:24 PM
encrypted file system deNiro Slackware 2 11-30-2003 12:39 PM
Encrypted File System for 9.2? scottdwright Mandriva 3 11-24-2003 03:53 AM
Encrypted File System? scottdwright Linux - Newbie 2 11-22-2003 04:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:25 PM.

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