Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* ANNOUNCE: LSD mount utilities.
@ 2007-01-30 11:56 ls-ocaml-developer-2006
  2007-02-17 12:12 ` ANNOUNCE: LSD mount utilities, version 1.3 ls-ocaml-developer-2006
  0 siblings, 1 reply; 3+ messages in thread
From: ls-ocaml-developer-2006 @ 2007-01-30 11:56 UTC (permalink / raw)
  To: caml-list



The LSD mount utilities are written in OCaml, so I hope the
announcement is not OT here.

Don't hesitate either to flame me or ask questions if I'm OT or the
utilities don't work as advertised.

Since those need to be SUID programs help in reviewing them or
discussion of security aspects would be appreciated.

Regards, Markus


         _oOo_


About
-----

The LSD mount utilities allow to automate mounting of encrypted
filesystems in linux with cryptsetup and loopback devices and enable
users (not only root) to mount encrypted filesystems when appropriate
entries to /etc/fstab have been added by root.

The LSD mount utilities are licensed/distributed under the the terms
of the GPL Version 2 (no later version). We'll usually be happy though
to relicense under other OS licenses, but you have to ask and get the
licensing change from us in writing.

The LSD mount utilities can be downloaded from

http://software.m-e-leypold.de/lsd-mount-utilities.


What does it do? How does it work?
----------------------------------

In Linux /sbin/mount calls /sbin/mount.$FSTYPE and /sbin/umount calls
/sbin/umount.$FSTYPE if those programs exist. This leads to the
observation, that the filesystem types either in /etc/fstab or passed
to mount with -t rather more characterize a mounting mechanism than a
file system type.

With the LSD mount utilities this mechanism is used to delegate
mounting of encrypted loopback devices to mount.lcrypt which automates
the steps necessary to set up those devices (like: modprobe, losetup,
cryptsetup).

mount.lcrypt on the other side should know the filesystem of the
decrypted device from a mount option. (This does not work yet,
presently all lcrypt devices have the decrypted filesystem type ext2).


Mounting directly
-----------------

Pass '-t lcrypt' to mount:

 mount -t lcrypt /data/encrypted-image /mnt 

You'll be asked for the passphrase.

With fstab / allow user mounting
---------------------------------

Use lcrypt as filesystem type. Use the option 'user', if non
privileged users should be able to mount the device:

 /data/encrypted-image /secret-mnt lcrypt  rw,noauto,user,exec 0 0 

Any user can now use

 mount /data/encrypted-image 

and is then asked for the passphrase.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-04-13  8:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-30 11:56 ANNOUNCE: LSD mount utilities ls-ocaml-developer-2006
2007-02-17 12:12 ` ANNOUNCE: LSD mount utilities, version 1.3 ls-ocaml-developer-2006
2007-04-13  8:55   ` ANNOUNCE: LSD mount utilities, version 1.4 ls-ocaml-developer-2006

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox