aboutsummaryrefslogtreecommitdiffstats
path: root/crypttab.5
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2012-08-07 14:28:27 +0200
committerLukas Nykryn <lnykryn@redhat.com>2012-08-07 14:34:33 +0200
commit5afd0fba8e67c3966e29d7b0f40f4085b6783d7b (patch)
treeea0bbb83ffe05bb6b2998a281106f34089e471ba /crypttab.5
parentf082f9e64eadbf68ef9bb67744c97c0974af9115 (diff)
downloadinitscripts-5afd0fba8e67c3966e29d7b0f40f4085b6783d7b.tar
initscripts-5afd0fba8e67c3966e29d7b0f40f4085b6783d7b.tar.gz
initscripts-5afd0fba8e67c3966e29d7b0f40f4085b6783d7b.tar.bz2
initscripts-5afd0fba8e67c3966e29d7b0f40f4085b6783d7b.tar.xz
initscripts-5afd0fba8e67c3966e29d7b0f40f4085b6783d7b.zip
Clarification of work with white spaces in crypttab manpage (#846140)
Diffstat (limited to 'crypttab.5')
-rw-r--r--crypttab.58
1 files changed, 8 insertions, 0 deletions
diff --git a/crypttab.5 b/crypttab.5
index 73bd8aed..5a172eae 100644
--- a/crypttab.5
+++ b/crypttab.5
@@ -49,6 +49,14 @@ If the field is not present or the password is set to \fBnone\fR,
the password has to be manually entered during system boot.
Otherwise the field is interpreted as a path to a file
containing the encryption password.
+This field does not support spaces, whether escaped with back slashes
+or quotes. Back slashes or quotes will cause this field
+to be interpreted as a path to a password file. If you wish
+to use a password with spaces in it, please use a password file.
+If using a password file, please note that the entire contents of the
+password file is used, including new lines and non-printable characters.
+A password file without a line feed can be created with the "echo" command's "-n"
+option. For example: echo -n "pass phrase" > MyPasswordFile
For swap encryption
.B /dev/urandom
can be used as the password file;