Autologin with LUKS
Removed before it was archived.
Edited 20 Feb 2019. We only hold this version.
About this post
- Posted
- Archived
- Deleted on
- Edited
- Score
- 2 · 100% up
- Kind
- Text
- ID
- arv7ja
Removed before it was archived.
Edited 20 Feb 2019. We only hold this version.
6 comments
Since you don't want display manager, do you mean something like this?
I've seen that page before, but I'm looking for a way to automatically login, unlock the keyring, etc. like a DM does but without first entering my username and password in the console. Maybe I got it wrong but I don't see how I can pass my full login credentials to getty in that example.
As far as i know, you can't unlock the keyring services with autologin, because of security concerns or something. Maybe it's possible to set up a blank password in an app like Seahorse or something, but i don't know if it'd do anything. Networkmanager can be configured to just not use the keyring and store your networks as plain text, it's not ideal but since your partitions are encrypted, maybe it's not that bad for security.
A post I've read elsewhere suggests using mingetty in inittab, is it better than the method detailed in the wiki?
You can use a keyfile on an external USB stick to automatically unlock your LUKS partion on boot. No need to enter your password. This allows you to use a display manager just like in a setup without LUKS.
See; https://wiki.archlinux.org/index.php/dm-crypt/Device_encryption