[dm-crypt] mounting luks-encrypted external drive without root access

Arno Wagner arno at wagner.name
Wed Dec 1 02:12:50 CET 2010


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 at 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 at saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt
>

-- 
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno at 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 


More information about the dm-crypt mailing list