PDA

View Full Version : [ubuntu] Autologin for multiple users with LUKS



Micha_R
October 6th, 2009, 06:46 PM
Hi,

I have setup an encrypted partition containing a LVM volume for my ubuntu installation. Just /boot is not encrypted. Now I have 2 Users who have a password each to decrypt the LUKS-partition. These passwords are the same as the login passwords for those users. Now here is what I would like to do, but I don't know if it is possible:

I would like to have a skrip that compares the entered LUKS password with existing user passwords, and if it finds a match, executes an auto login for exactly that user.

In that way both users would need to type in the password only once at startup.

Do you think that this would be possible?

Mike

Micha_R
October 8th, 2009, 08:12 AM
No ideas? Anyone?