r/linuxmint • • 21d ago

Stuck in Login Loop after forgetting password and resetting it

Hi,

I am new to linux mint (less than a few days) and I forgot my password. So, I followed the instructions from a post to reset that pw. Now that the pw has been reset, I am stuck in a login loop when I try to enter the new password. I tried the steps from another post to do a snapshot recovery but alas I have no snapshots found. Please HELP, I do now want to reinstall because I like this username and identity of my computer.

0 Upvotes

4 comments sorted by

2

u/Ambitious_Basil_5311 20d ago

boot into recovery mode again (hold shift at boot, pick advanced options, then recovery mode), drop to the root shell, and run:

chown -R youruser:youruser /home/youruser

replace youruser with your actual username. this is a really common cause of login loops after a password reset through recovery mode, something in that process strips ownership of your home folder back to root and the desktop session just bounces you back to the login screen. once that's run, reboot normally and try logging in again.

if that doesn't do it, check df -h while you're in there too, a full /home partition causes the exact same symptom.

2

u/[deleted] 21d ago

[removed] — view removed comment

1

u/Ok-Way-2291 21d ago

I don't want to reinstall but I do have the usb if I have too. And I can't really include a picture but it's constantly rebooting me back to the login screen everytime I type in the password

2

u/groveborn 21d ago

What happens when you drop to a shell? Can you login that way? It's possible more than you password broke.