Return-Path: Received: from tansi.org (ns.km10532-04.keymachine.de [87.118.102.195]) by mail.saout.de (Postfix) with ESMTP for ; Wed, 1 Dec 2010 02:12:51 +0100 (CET) Received: from gatewagner.dyndns.org (84-74-164-239.dclient.hispeed.ch [84.74.164.239]) by tansi.org (Postfix) with ESMTPA id 1E12D121859F for ; Wed, 1 Dec 2010 02:12:51 +0100 (CET) Date: Wed, 1 Dec 2010 02:12:50 +0100 From: Arno Wagner Message-ID: <20101201011250.GB15392@tansi.org> References: <093b4dd60a1da8c8dc794e942fa2798b@mailoo.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <093b4dd60a1da8c8dc794e942fa2798b@mailoo.org> Subject: Re: [dm-crypt] mounting luks-encrypted external drive without root access List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de I think giving that user access permissions (file permissions) to the drive should be enough. Best done via a special group and adding the user to that group. Alternative is a suid binary or script. That is basically what is done for fstab, i.e. /bin/mount runns as su-root. Arno On Wed, Dec 01, 2010 at 01:24:04AM +0100, nimiezko@mailoo.org wrote: > Hello, > > In fstab there is an option "user" which allows non-root users to mount > the designed FS. > It's useful for removable media. > > How can I allow a user to "cryptsetup" some predetermined drive ? > Any option in crypttab ? > > Thanks in advance. > _______________________________________________ > dm-crypt mailing list > dm-crypt@saout.de > http://www.saout.de/mailman/listinfo/dm-crypt > -- Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F ---- Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier