How to Change Password in Linux Ubuntu

Robioki Denis
Sep 9, 2021

--

Photo by Jason Dent on Unsplash

Sometimes we need to change password to keep system secure, It’s always a good idea to update your password on a regular basis and use a unique password for each account.

easy way to change password in linux Ubuntu

In Ubuntu and other Linux distributions you can change the password of a user account with the passwd command.;

passwd 
Change Password Linux Ubuntu

then type you new password and retype password

If you are a sysadmin, you may need to change the password for other users

change other user’s password using root permission

sudo passwd <user_name>root@example:~# sudo passwd robioki
example change password other users

I hope this quick little tip helped you to change user password in Ubuntu. If you have questions or suggestions, please leave a comment below.

--

--

Robioki Denis
Robioki Denis

Written by Robioki Denis

DevOps Engineer & Fullstack Developer, someone who has a high curiosity 😁

No responses yet