ecryptfs-migrate-home lacks networked passwd database support
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eCryptfs |
Fix Released
|
Low
|
Dustin Kirkland | ||
ecryptfs-utils (Ubuntu) |
Fix Released
|
Low
|
Dustin Kirkland |
Bug Description
ecryptfs-
I modified line 84 from:
local USER_HOME=$(grep "^$USER_NAME:" /etc/passwd | cut -d":" -f 6)
to
local USER_HOME=$(getent passwd $USER_NAME | cut -d":" -f 6)
and tested on a machine joined to an active directory domain. In my testing, it successfully found/encrypted the home directory of a username not listed in /etc/passwd, but in active directory. Additionally, I was able to log in with that username and the directory successfully decrypted and mounted.
I am attaching the modified script, called "ecryptfs-
Related branches
Changed in ecryptfs: | |
status: | New → In Progress |
importance: | Undecided → Low |
Changed in ecryptfs-utils (Ubuntu): | |
assignee: | nobody → Dustin Kirkland (kirkland) |
importance: | Undecided → Low |
status: | New → In Progress |
Changed in ecryptfs: | |
status: | In Progress → Fix Released |
Dustin, would you mind ack'ing this?