Product SiteDocumentation Site

4.9. Passphrase management

LUKS
The LUKS encryption system can manage up to eight passphrases (in this article, we already used two).
Adding a password can be done with the following command:
cryptsetup luksAddKey /dev/sda5
To delete a passphrase :
cryptsetup luksKillSlot /dev/sda5 <the slot number to be deleted> 
Encfs
encfs have only one passphrase. The passphrase can be changed with the following command:
encfsctl passwd ~/Ubuntu\ One/.encrypted/

Note

Remember that the passphrase of encfs and the passphrase of you account should be identical to allow libpam_mount to decrypt encfs directory at login.