Hello, two weeks ago I upgraded my server from debian 10 to debian 12, everything seemed fine until I tried to log in.
After I type in my username I only get "login incorrect" without even a password prompt, the same problem occurs with root.
This happens over ssh aswell as on the machine.
Thanks!
[Solved] Not able to login after upgrade.
[Solved] Not able to login after upgrade.
Zuletzt geändert von tpf am 09.11.2023 11:02:40, insgesamt 1-mal geändert.
Re: Not able to login after upgrade.
Maybe at boot in GRUB2 you can edit the grub menu and add init=/bin/bash to boot to shell. Then you can set password with passwd or passwd username and boot again without the option. Maybe you must use sudo passwd and sudo passwd username. For check Harddisk full use the command df -h . If it is full please make a new install with more space.
Re: Not able to login after upgrade.
In addition to the other posts:
dist-upgrades skipping a release (directly from Buster (10) to Bookworm (12)) are not supported. Transitional packages are meant to facilitate dist-upgrades from one release to the next one, but they might not span two releases.
So in case you skipped Bullseye (11) you might have broken dependencies.
dist-upgrades skipping a release (directly from Buster (10) to Bookworm (12)) are not supported. Transitional packages are meant to facilitate dist-upgrades from one release to the next one, but they might not span two releases.
So in case you skipped Bullseye (11) you might have broken dependencies.
Re: Not able to login after upgrade.
Solved, the disk wasn´t full. I booted into single user mod but I still could not change the password. The error then was "passwd: Authentication token manipulation error". So I restored my whole system from a backup before the updates. I did update first to Bullseye and then to Bookworm but I still managed to mess something up. Now everything works again and the updates were successful.
Thank you very much!
Thank you very much!