1ecryptfs-migrate-home(8) eCryptfs ecryptfs-migrate-home(8)
2
3
4
6 ecryptfs-migrate-home - migrate a user's home directory to an encrypted
7 home setup
8
9
11 ecryptfs-migrate-home [-u|--user USER]
12
13
15 -u, --user USER
16 Migrate USER's home directory to an encrypted home directory
17
18
20 WARNING: Make a complete backup copy of the non-encrypted data to
21 another system or external media. This script is dangerous and in case
22 of an error, could result in data lost, or USER locked out of the sys‐
23 tem!
24
25 This program must be executed by root.
26
27 This program will attempt to migrate a user's home directory to an
28 encrypted home directory.
29
30 This program requires free disk space 2.5x the current size of the home
31 directory to be migrated. Once successful, you can recover most of
32 this space by deleting the cleartext directory.
33
34 The USER must be logged out of all sessions in order to perform the
35 migration, and have no open files according to lsof(1).
36
37 Once the migration has completed, the USER must login immediately,
38 BEFORE THE NEXT REBOOT in order to complete the migration.
39
40 After logging in, if USER can read and write files in their home direc‐
41 tory successfully, then the migration has completed successfully and
42 can remove the cleartext backup in /home/.
43
44 After a successful migration, the USER really must run ecryptfs-unwrap-
45 passphrase(1) or zescrow(1) and record their randomly generated mount
46 passphrase.
47
48 If swap is not already encrypted, it is highly recommended that your
49 administrator setup encrypted swap using ecryptfs-setup-swap(1).
50
51
53 ecryptfs-unwrap-passphrase(1), ecryptfs-setup-private(1), ecryptfs-set‐
54 up-swap(1), lsof(1), rsync(1), zescrow(1)
55
56 http://ecryptfs.org/
57
58
60 This manpage was written by Dustin Kirkland <kirkland@ubuntu.com> for
61 Ubuntu systems (but may be used by others). Permission is granted to
62 copy, distribute and/or modify this document under the terms of the GNU
63 General Public License, Version 2 or any later version published by the
64 Free Software Foundation.
65
66 On Debian and Ubuntu systems, the complete text of the GNU General Pub‐
67 lic License can be found in /usr/share/common-licenses/GPL.
68
69
70
71ecryptfs-utils 2012-01-24 ecryptfs-migrate-home(8)