Is it Possible to make "Forget password immediately" the default when opening LUKS encrypted partition?
When a LUKS encrypted partition pops up the unlock window it gives 3 options for how to remember the password. The "Remember password until you logout" is always ticked by default. Is there a way to make "Forget password immediately" the default?
Enter a passphrase to unlock the volume:
[ ] Forget password immediately
[x] Remember password until you logout
[ ] Remember forever
Solution 1:
I believe the setting comes from your desktop environment, e.g. GNOME. Not related to LUKS or the encryption.
If GNOME is your desktop environment, you should change GNOME settings. One way is to install gconf-editor
by
sudo apt install gconf-editor
You might be able to find the relevant default setting there.