Slackware Live Edition - Changing a LUKS encrypted persistence and home passwords!
by ag33k from LinuxQuestions.org on (#4SR4K)
Hello
I tried to change the LUKS password of /home and the persistence filesystem.
To do this I did
Code:# init 1
# mount /dev/sda3 /mnt/
# cd /mnt/
# cryptsetup luksChangeKey persistance.img
# cryptsetup luksChangeKey slhome.img
# rebootI don't know even if it is possible to this or do this in this way!
After the reboot everything has reset.
My files were lost and the live and root password (that I had changed before) are back to the defaults ones (live:live root:root)
There is any way to change the LUKS password of /home and the persistence filesystem after using the iso2usb.sh script?


I tried to change the LUKS password of /home and the persistence filesystem.
To do this I did
Code:# init 1
# mount /dev/sda3 /mnt/
# cd /mnt/
# cryptsetup luksChangeKey persistance.img
# cryptsetup luksChangeKey slhome.img
# rebootI don't know even if it is possible to this or do this in this way!
After the reboot everything has reset.
My files were lost and the live and root password (that I had changed before) are back to the defaults ones (live:live root:root)
There is any way to change the LUKS password of /home and the persistence filesystem after using the iso2usb.sh script?