Imported Upstream version 2.6.1
[platform/upstream/cryptsetup.git] / man / cryptsetup-luksRemoveKey.8.adoc
1 = cryptsetup-luksRemoveKey(8)
2 :doctype: manpage
3 :manmanual: Maintenance Commands
4 :mansource: cryptsetup {release-version}
5 :man-linkstyle: pass:[blue R < >]
6 :COMMON_OPTIONS:
7 :ACTION_LUKSREMOVEKEY:
8
9 == Name
10
11 cryptsetup-luksRemoveKey - remove the supplied passphrase from the LUKS device
12
13 == SYNOPSIS
14
15 *cryptsetup _luksRemoveKey_ [<options>] <device> [<key file with passphrase to be removed>]*
16
17 == DESCRIPTION
18
19 Removes the supplied passphrase from the LUKS device. The passphrase to
20 be removed can be specified interactively, as the positional argument or
21 via --key-file.
22
23 *<options>* can be [--key-file, --keyfile-offset, --keyfile-size,
24 --header, --disable-locks, --type, --timeout, --verify-passphrase].
25
26 *WARNING:* If you read the passphrase from stdin (without further
27 argument or with '-' as an argument to --key-file), batch-mode (-q) will
28 be implicitly switched on and no warning will be given when you remove
29 the last remaining passphrase from a LUKS container. Removing the last
30 passphrase makes the LUKS container permanently inaccessible.
31
32 include::man/common_options.adoc[]
33 include::man/common_footer.adoc[]