I've got LUKS (Linux Unified Key Setup) running on a couple of my Linux boxes. I've looked online but haven't seen anyone document how to make it work in a single signon option, but was hoping someone could either point me in the right direction or give a definitive no that won't work (or more likely, no that won't work without writing some extra PAM etc. code).
Specifically, what I would like to do is boot up my system (which has let's assume 4 user accounts). When I get prompted for my passphrase, it unlocks LUKS and boots up, and then tries that same passphrase to log in the user that's associated with that passphrase. (LUKS supports 8 different passphrases but I'd be fine if there was just a single user supported (my primary username) and if I wanted to log in to a different account, I could log out / switch user.
Update: I'm encrypting the whole disk.