deluser --remove-home leaves ecryptfs data behind
Bug #347970 reported by
Martin Pitt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
adduser (Ubuntu) |
Fix Released
|
Low
|
Dustin Kirkland | ||
Jaunty |
Fix Released
|
Undecided
|
Unassigned | ||
Karmic |
Fix Released
|
Low
|
Dustin Kirkland | ||
ecryptfs-utils (Ubuntu) |
Invalid
|
Low
|
Dustin Kirkland | ||
Jaunty |
Invalid
|
Undecided
|
Unassigned | ||
Karmic |
Invalid
|
Low
|
Dustin Kirkland |
Bug Description
Binary package hint: adduser
On experimenting with encrypted home directories, I repeatedly added and removed users with encrypted home directories (had to do that because of bug 347969).
It occurred to me that "deluser --remove-home foo" followed by "adduser --encrypt-home foo" doesn't work, because deluser leaves /var/lib/
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: adduser 3.110ubuntu3
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: adduser
Uname: Linux 2.6.28-11-generic i686
Changed in adduser (Ubuntu): | |
status: | Triaged → In Progress |
Changed in adduser (Ubuntu): | |
assignee: | Martin Pitt (pitti) → Dustin Kirkland (kirkland) |
status: | Fix Released → Triaged |
To post a comment you must log in.
Thanks for the report, Martin.
I suppose removing /var/lib/ ecryptfs/ $USER should be safe, if you're removing their home directory too...
I'm adding a task against adduser, as that's where this code will need to live. I'll keep a task open against ecryptfs-utils for now, for tracking purposes.
:-Dustin