[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cryptoloop as user?



Hi, and thanks for help.

Some hacking on fstab did the trick:)

Now I'm able to mount at boot, I'm just entering my passwd for the
cryptofile and when I'm entering my files and folders the permission is
also set right.

/ernst



On 13 Dec 2002, Matthias Hentges wrote:

> 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
>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>



Reply to: