I have a laptop that I have not used for many months, this laptop was for a friend and I only remember the encryption password that I put since the installation is the one that he asks me before grub.

The user's password is the same for root but I chose the option not to ask for it at startup, so when I put the luks encryption I can go directly to the xfce desktop.

My problem is that I forget the user password, so if the screen locks it asks me for it or if I want to do sudo it asks me for it.

Is there a way that from the terminal I can rescue it, or know where ligthtdm saves it, since at the beginning it does not require it.?

o Any tool to autocrack my password?

  • Boot from an bootable USB drive, chroot into existing installation, use passwd <user> to change password.
    – Biswapriyo
    Apr 9, 2021 at 8:18
  • When did you encrypt one? Was it during the installation?
    – Jorge Luiz
    Apr 11, 2021 at 12:35


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.