Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Encrypted drive setup at login and locking on logout.
Date: Sat, 04 Jul 2020 02:23:18
Message-Id: e8285ae9-3c8f-c625-30a0-c56c51258b90@gmail.com
1 Howdy,
2
3 As some know, I been playing with encryption recently.  I got doing it
4 on the command line and using veracrypt for USB sticks down.  I use
5 Veracrypt for those that I want to work on windoze as well, I hope
6 anyway.  Now I'm moving on to something else. 
7
8 Now that I have a spare drive, I want to encrypt it and have a mount
9 point for it, /home/dale/documents for example.  What I'd like to do,
10 when I login in, it asks me for the encryption password and then mounts
11 it.  When I log out, it reverses.  I'm not doing all of /home because I
12 want to separate some info.  I may do it later. 
13
14 I did some googling but maybe my search terms aren't good enough.  I
15 mostly find for /home as a whole but not separate parts of it.  When I
16 add in Gentoo does some things differently, it may be that this isn't
17 even doable.  Also, my user password and password for the encryption
18 will be different.  I'm using KDE but anything that will work as part of
19 KDE or along with KDE will be fine with me. 
20
21 Does anyone have a howto they can link to?  Is this even doable? 
22
23 Thanks.
24
25 Dale
26
27 :-)  :-) 

Replies