I had tried to setup kerberos authentication to log into some ADS thing at my new university, however that didn't work and resulted in me having to enter my password twice for everything.
So I did:
sudo apt-get remove libpam-krb5
Then some authentication tool came up asking if I wanted to ignore local changes(?) to which I entered yes. Then I restarted, now I can't login.
I tried to do recovery mode and enter into the root prompt, but apparently it is in read-only mode.