15
[ Solved ] I can't change Disk Encryption password
(infosec.pub)
Linux questions Rules (in addition of the Lemmy.zip rules)
Tips for giving and receiving help
Any rule violations will result in disciplinary actions
Refer to the
cryptsetup-luksChangeKey
man page--key-file
options, you cannot change the password directly on a commandline; you either (a) type it interactively, (b) put it in a keyfile, or (c) accept input from STDIN with the standard use of-
on the end (e.g.echo "mypass" | cryptsetup luksChangeKey /dev/sda -
)