sudo raspi-config
runs a pseudo-gui configuration tool for the raspberry pi. Option 2 allows for the password to be changed.