Tuesday, May 14, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 2929  / 2 Years ago, wed, august 31, 2022, 6:58:09

I have installed Ubuntu 20.10 on ZFS with encryption enabled and now I want to change the password used to boot my computer.


How do I do this?


$ zfs get keylocation,encryption,keyformat rpool
NAME PROPERTY VALUE SOURCE
rpool keylocation file:///run/keystore/rpool/system.key local
rpool encryption aes-256-gcm -
rpool keyformat raw -

More From » boot

 Answers
1

as far as i can determine correct answer is


$ sudo cryptsetup luksAddKey /dev/zvol/rpool/keystore

to add new password


$ sudo cryptsetup luksRemoveKey /dev/zvol/rpool/keystore

and to remove old one


[#1841] Wednesday, August 31, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
leddre

Total Points: 180
Total Questions: 113
Total Answers: 108

Location: France
Member since Thu, Oct 27, 2022
2 Years ago
;