- **Epistemic status:** #budding To change the password of a user in [[Linux]] you will need to log into the system as a **root** user or an account with **sudo** privileges. After that, enter the following command, replacing `<username>` with the username you want to change the password for: ```bash sudo passwd <username> ``` You will be asked to add a password. Make sure to save the password in a password manager or your preferred secure storage for safekeeping. --- ## References - Knowledge Base by phoenixNAP. “How to Add User to Sudoers or Sudo Group on Ubuntu,” March 19, 2019. <https://phoenixnap.com/kb/how-to-create-sudo-user-on-ubuntu>. - “How to Create Users in Linux (Useradd Command),” December 11, 2018. <https://linuxize.com/post/how-to-create-users-in-linux-using-the-useradd-command/>.