1ecryptfs-setup-swap(1) eCryptfs ecryptfs-setup-swap(1)
2
3
4
6 ecryptfs-setup-swap - ensure that any swap space is encrypted
7
8
10 ecryptfs-setup-swap [-f|--force]
11
12
14 This script will detect existing swap partitions or swap files, and
15 encrypt them, using cryptsetup.
16
17 Encrypted swap is essential to securing any system using eCryptfs,
18 since decrypted file contents will exist in the system's memory, which
19 may be swapped to disk at any time. If the system swap space is not
20 also encrypted, it is possible that decrypted files could be written to
21 disk in clear text.
22
23 Note that most Linux distributions do not yet support resuming from an
24 encrypted swap space, and thus hibernate/resume will not work. Sus‐
25 pend/resume is unaffected.
26
27 Upon running the utility, the user will be informed of the hiber‐
28 nate/resume break, and asked to confirm the behavior. The -f|--force
29 option can be used to bypass this interactive prompt.
30
31
33 cryptsetup(8)
34
35 http://ecryptfs.org/
36
37
39 This manpage and the utility was written by Dustin Kirkland <kirk‐
40 land@ubuntu.com> for Ubuntu systems (but may be used by others). Per‐
41 mission is granted to copy, distribute and/or modify this document
42 under the terms of the GNU General Public License, Version 2 or any
43 later version published by the Free Software Foundation.
44
45 On Debian and Ubuntu systems, the complete text of the GNU General Pub‐
46 lic License can be found in /usr/share/common-licenses/GPL.
47
48
49
50ecryptfs-utils 2009-08-17 ecryptfs-setup-swap(1)