netboot newuser and ecryptfs fails to login
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eCryptfs |
Fix Released
|
Undecided
|
Unassigned | ||
ecryptfs-utils (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Steps to reproduce:
1. take the netboot directory from the alternate CD and setup a tftp server with it
2. boot a system over the network using the attached preseed file
3. login with that user after installation is done
At login the user cannot mount it's ~/.Private directory over to ~/.
I fixed this by doing:
1. login as root
2. rm -fr ~user/.ecryptfs ~user/.Private
3. su - user
4. ecrypt-
5. changed .Private/
There might not be a simple way to provide a password from a preseed file since the password is encrypted in this file.
Note:
- when using the preseed file provided, do not provide any manual input (except if something fails and you need to hit continue).
Changed in ecryptfs-utils (Ubuntu): | |
assignee: | maco.m → nobody |
The actual problem is that when encrypted home is chosen on the net install (I used the mini iso), the home directory's permissions are set to 500. Thus, the config files needed to login cannot be written. The original reporter's workaround simply replaced their home directory with the already-700 Private directory.