All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rudolf Deilmann <rudolf.deilmann@gmail.com>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] mounting luks-encrypted external drive without root access
Date: Thu, 2 Dec 2010 14:10:52 +0100	[thread overview]
Message-ID: <20101202141052.745842e1@gmail.com> (raw)
In-Reply-To: 093b4dd60a1da8c8dc794e942fa2798b@mailoo.org

Am Wed, 01 Dec 2010 01:24:04 +0100
schrieb <nimiezko@mailoo.org>:
>  How can I allow a user to "cryptsetup" some predetermined drive ?
>  Any option in crypttab ?

perhaps pmount is enough for your purpose:
http://pmount.alioth.debian.org/

man pmount:
------------
pmount ("policy mount") is a wrapper around the standard mount program
which permits normal users to mount removable devices without a
matching /etc/fstab entry.

pmount also supports encrypted devices which use dm-crypt and have LUKS
metadata. If a LUKS-capable cryptsetup is installed, pmount will use it
to decrypt the device first and mount the mapped unencrypted device
instead. [...] 

*Files*

/etc/pmount.allow
List of devices (one device per line) which are additionally permitted
for pmounting. Globs, such as /dev/sda[123] are permitted. See see glob
(7) for a more complete syntax. 
[...] 
------------

  parent reply	other threads:[~2010-12-02 13:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-01  0:24 [dm-crypt] mounting luks-encrypted external drive without root access nimiezko
2010-12-01  1:12 ` Arno Wagner
2010-12-02 13:10 ` Rudolf Deilmann [this message]
2010-12-02 16:24 ` Ma Begaj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101202141052.745842e1@gmail.com \
    --to=rudolf.deilmann@gmail.com \
    --cc=dm-crypt@saout.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.