Set the wrong MOK password. How to change?

I just went through:

➜  ujust enroll-secure-boot-key
sudo mokutil --timeout -1
echo 'The next line will prompt for a MOK password. Then, input "universalblue"'
The next line will prompt for a MOK password. Then, input "universalblue"
sudo mokutil --import /etc/pki/akmods/certs/akmods-ublue.der
SKIP: /etc/pki/akmods/certs/akmods-ublue.der is already in the enrollment request
echo 'At next reboot, the mokutil UEFI menu UI will be displayed (*QWERTY* keyboard input and navigation).\nThen, select "Enroll MOK", and input "universalblue" as the password'
At next reboot, the mokutil UEFI menu UI will be displayed (*QWERTY* keyboard input and navigation).\nThen, select "Enroll MOK", and input "universalblue" as the password

…but missed the instructions and did not type in universalblue but my password for sudo. How do I change it?

Just use the password you set for enrollment.

What if I don’t want to have my sudo password for that?

EDIT: thinking about possible security implications.

Its a one time password to ensure physical presence when enrolling the MOK.

If you want to reset the whole thing you can use

mokutil --revoke-import

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.