← Back to team overview

ecryptfs team mailing list archive

[Bug 353446] Re: GDM auto login won't work with ecryptfs

 

I'm sorry, but an encrypted home directory and gdm-autologin are two
features that are simply incompatible.

We handled this in the installer by allowing you to only one of 3 different options:
 1) auto login (no password)
 2) login with a password
 3) login with a password and decrypt your home directory contents

I believe this should be solved in the gdm Login Window Preferences -> Security tab.  The 'enable automatic login' option should be greyed out if the user has an encrypted home directory,
 $ mount | grep "on $HOME type ecryptfs"

seb128, I'm going to wishlist this against gdm.

:-Dustin

** Also affects: gdm (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: gdm (Ubuntu)
   Importance: Undecided => Wishlist

** Changed in: gdm (Ubuntu)
       Status: New => Confirmed

** Changed in: ecryptfs-utils (Ubuntu)
       Status: New => Invalid

-- 
GDM auto login won't work with ecryptfs
https://bugs.launchpad.net/bugs/353446
You received this bug notification because you are a member of eCryptfs,
which is subscribed to ecryptfs-utils in ubuntu.

Status in “ecryptfs-utils” source package in Ubuntu: Invalid
Status in “gdm” source package in Ubuntu: Confirmed

Bug description:
Binary package hint: gdm

Using Ubuntu Jaunty Beta 1 up to date (20090401)

A co-worker had trouble with the auto login in GDM, the screen kept showing a blank screen and never started gnome. So after investigating I found that he had enabled the encryptfs of his home directory. Disabling the autologin solved the problem.

Steps to reproduce:
1. Install Ubuntu Jaunty choosing encripted home directory.
2. Login and select auto-login in gdmsetup.
3. Next time you try to login, the session won't start.

Would it be possible that GDM informed about this or ask for the password to "unlock" the home?
Maybe, with a encryptfs home one shouldn't be allowed to activate auto-login.

This is related to bug 284443.