I'm new to Raspbian.
I started the GUI for the first time (following a fresh install) using the instructions found here: How to set my Raspberry Pi to boot into the GUI? and the command:
sudo apt-get install lightdm
I rebooted the machine, but the default login (pi) and password (raspberry) no longer work. I don't know of any other way to reset the password.
Other than re-flashing the Raspbian image to the SD card, how can I get out of this situation?
/etc/shadow
file if one uses themkpasswd
program to properly hash the password...mkpasswd -m sha-512
should produce a correctly hashed password. – RubberStamp Sep 15 '18 at 20:39raspi-config
and there is no need to install another display managerlightdm
like you did. – Ingo Sep 16 '18 at 11:28