Sample Header Ad - 728x90

Mounting LUKS from the command line

16 votes
4 answers
24287 views
When in nautilus or caja I click on the icon of an encrypted disk and enter my password, the underlying block device gets mapped to /dev/mapper/luks-$UUID and it gets mounted at/media/$USER/$DISK, no root password required. Is there a way to invoke this process from the command line, without GUI, including obviating sudo and having the mountpoint able to get unmounted again from GUI.
Asked by Petr Skocik (29590 rep)
Mar 6, 2015, 08:36 AM
Last activity: May 22, 2023, 08:10 PM