From: "Thomas Bächler" <thomas@archlinux.org>
To: Henry Jenkins <henry@henryjenkins.name>, dm-crypt@saout.de
Subject: Re: [dm-crypt] cryptsetup without sudo
Date: Tue, 25 Feb 2014 17:05:38 +0100 [thread overview]
Message-ID: <530CBF52.4050304@archlinux.org> (raw)
In-Reply-To: <CA+hGr31RWqee1qpz0r1pMWB7dTWcCjzX4-iia8zX0e2RJziMZA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1287 bytes --]
Am 24.02.2014 21:29, schrieb Henry Jenkins:
> Is there some method using Ubuntu to set up a luks drive without
> root/sudo access from the cli?
>
> Currently I can use either `sudo cryptsetup luksOpen <drive> <name>`
> then udisks or I can use gnome-disks to which does not requite sudo. So
> I'm assuming there is a existing application that does not require using
> sudo or the use of a GUI.
>
> Motive - mounting a usb key without requiring elevated privs.
Assuming you have udisks2, this shouldn't be a problem:
$ udisksctl
Usage:
udisksctl [OPTION...] COMMAND
Commands:
help Shows this information
info Shows information about an object
dump Shows information about all objects
status Shows high-level status
monitor Monitor changes to objects
mount Mount a filesystem
unmount Unmount a filesystem
unlock Unlock an encrypted device
lock Lock an encrypted device
loop-setup Set-up a loop device
loop-delete Delete a loop device
power-off Safely power off a drive
smart-simulate Set SMART data for a drive
Use "udisksctl COMMAND --help" to get help on each command.
The 'unlock' command seems useful to you.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 901 bytes --]
next prev parent reply other threads:[~2014-02-25 16:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-24 20:29 [dm-crypt] cryptsetup without sudo Henry Jenkins
2014-02-24 21:17 ` .. ink ..
2014-02-25 16:01 ` Clay Wells
2014-02-25 16:05 ` Thomas Bächler [this message]
2014-02-25 18:23 ` Henry Jenkins
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=530CBF52.4050304@archlinux.org \
--to=thomas@archlinux.org \
--cc=dm-crypt@saout.de \
--cc=henry@henryjenkins.name \
/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.