How to change password of the current user in Raspbian Stretch using raspi-config

Especially when you enable SSH server on Raspbian Stretch, you should change the default password of the pi user.

When you want to change the default password of the current user in Raspbian Stretch, you can do it via raspi-config.

In case you need it, this post shows how to change password of the current user in Raspbian Stretch using raspi-config.

First, open a Terminal window by clicking on the highlighted icon at the top:

Raspbian Stretch 20181113 desktop with a terminal window

Once the terminal window had started, type the following command in the terminal window:

sudo raspi-config

Raspbian Stretch 20181113 terminal window with sudo raspi-config

After raspi-config loads in your terminal, go through the following screens to change password of the current user in Raspbian Stretch:

Select Change User Password at the first menu of raspi-config:
raspi-config on Raspbian Stretch 20181113 with Change User Password selected

Once you had done so, raspi-config will indicate that you will be asked to change the password for the current user:
raspi-config on Raspbian Stretch 20181113 with indication that you will be prompted to change password for the pi user

When you clicked Ok, you will be directed back to the terminal program to enter a new password:
Terminal in Raspbian Stretch 20181113 prompting for new password

After you had entered your password, you will be asked to re-enter the same password again.
Terminal in Raspbian Stretch 20181113 prompting for new password to be entered again

Once you had done so, raspi-config will indicate that you had successfully changed the password for the current user.
raspi-config on Raspbian Stretch 20181113 with indication that password had been changed successfully

When you are done, you can exit raspi-config by selecting Finish at the first screen:
Raspbian Stretch 20181113 raspi-config initial screen with Finish selected

After raspi-config exits, you will also see indication that the password for the current user had been changed successfully on your terminal program:
Terminal in Raspbian Stretch 20181113 showing password had been changed successfully

About Clivant

Clivant a.k.a Chai Heng enjoys composing software and building systems to serve people. He owns techcoil.com and hopes that whatever he had written and built so far had benefited people. All views expressed belongs to him and are not representative of the company that he works/worked for.