Re: cryptoloop as user?
Am Don, 2002-12-12 um 21.01 schrieb ernst:
> Nop, can't do.
>
> I have an crypted fil created with 'dd' and ciper blowfish. this file is
> mounted at loop0.
>
> when I mount with the 'mount' command, debian understand that this is my
> /folder/cryptfile.
>
> when I try to do this in fstab, it doesn't understand that loop0 is
> cryptfile or vice versa, so it need to know about them bouth. and that's
> where my problem is, how to put 'cryptfile' 'loop0' and mountpoint in
> fstab so that debian understands it, and with the right permission.
>
> so what I did was that I just created a couple of scripts, one that mounts
> and set the right permission, and one that umount and detach the loop
> device, this is working fine.
>
> the odd thing was when I tryed your solution, it didn't even give me an
> error:)
>
That's because it works ;) I've been using this setup with encrypted
files for +2 years now. You don't have to care about loopX anymore,
fstab will do anything needed.
I do something like that:
+mhentges@mhcln01:/etc/ssh >mount /home/mhentges/.safe
Available keysizes (bits): 128 192 256
Keysize: 256
Passwort:
+mhentges@mhcln01:/etc/ssh >
And then it's mounted. All you need is the crypto-enabled mount, and
losetup tools.
+mhentges@mhcln01:/etc/ssh >mount
[...]
/home/mhentges/.safe on /home/mhentges/Data/Safe type reiserfs
(rw,noexec,nosuid,nodev,loop=/dev/loop1,encryption=twofish)
+mhentges@mhcln01:/etc/ssh >
Dunno why it doesn't work for you....
--
Matthias Hentges
[www.hentges.net] -> PGP + HTML are welcome
ICQ: 97 26 97 4 -> No files, no URLs
My OS: Debian Woody: Geek by Nature, Linux by Choice
Reply to: