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/shadowfile if one uses themkpasswdprogram to properly hash the password...mkpasswd -m sha-512should produce a correctly hashed password. – RubberStamp Sep 15 '18 at 20:39raspi-configand there is no need to install another display managerlightdmlike you did. – Ingo Sep 16 '18 at 11:28