--- title: "How to Update a cPanel Account Password" slug: "how-to-update-a-cpanel-account-password" updated: 2026-07-07T01:38:00Z published: 2026-07-07T01:38:00Z canonical: "docs.serversaustralia.com.au/how-to-update-a-cpanel-account-password" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.serversaustralia.com.au/llms.txt > Use this file to discover all available pages before exploring further. # How to Update a cPanel Account Password There are a few methods which you can update your cPanel password. This can be done in cPanel itself, WHM or via SSH. ## Via cPanel > [!WARNING] > Notes > > You will need to log in with your cPanel account for this method. So this is not ideal for forgotten passwords. 1. Log in to cPanel and under the ‘**Preferences**’ section, click on ‘**Password & Security’**. ![](https://cdn.document360.io/d809f158-d4f4-47ff-83d4-18d9c9f7a04d/Images/Documentation/image-WCBF4F9L.png) 1. Enter the **Old Password** (the current), then either set a **New Password** and repeat, or you can click on the ‘**Password Generator’**, ![](https://cdn.document360.io/d809f158-d4f4-47ff-83d4-18d9c9f7a04d/Images/Documentation/image-0K85OIKV.png) If you would like to auto-generate one, Click on ‘**Generate Password’**, copy the password into a safe place, and then **tick the box**. Click on **Use Password** when ready. ![](https://cdn.document360.io/d809f158-d4f4-47ff-83d4-18d9c9f7a04d/Images/Documentation/image-SAJYTZXH.png) 1. Then click on ‘**Change your password now!’** ![](https://cdn.document360.io/d809f158-d4f4-47ff-83d4-18d9c9f7a04d/Images/Documentation/image-UT01OC6U.png) > [!WARNING] > Note > > *This will log you out, check to see if your new password works by logging back in and you're done!* ## Via WHM 1. The easiest method is via WHM by going to ‘**List Accounts’**, generally listed under Favorites but can be searched for in the search box. ![](https://cdn.document360.io/d809f158-d4f4-47ff-83d4-18d9c9f7a04d/Images/Documentation/image-VXWVZHSW.png) 1. Search or find the domain in the list, then click the **+** button to the left of the domain. ![](https://cdn.document360.io/d809f158-d4f4-47ff-83d4-18d9c9f7a04d/Images/Documentation/image-CFZ8XU3S.png) 1. Enter the new password and then click on **Change**. ## Alternate WHM 1. The other method via WHM is to search for ‘**Password Modification’** under the ‘**Account Functions’** section**.** 2. Select the cPanel account you want to change the password on. *Search if needed.* 3. Click on ‘**Generate’**, confirm the password and then click ‘**Change Password’**. ![](https://cdn.document360.io/d809f158-d4f4-47ff-83d4-18d9c9f7a04d/Images/Documentation/image-OW9BEWRH.png) ## Via SSH > [!WARNING] > Note > > This method requires root SSH access, and some knowledge of command line operations. 1. SSH into the server as root. 2. Type ```plaintext passwd username ``` Replace **username** with the cPanel account in question. If you don’t know the cPanel username you can find it via the domain with the following: > [!NOTE] > cPanel Username: > > If you don’t know the cPanel username you can find usernames per domain within **/etc/userdomains**, or by the following command: > > `cat /etc/userdomains | grep -i domain` > > With **domain** replaced with the website in question. This will give you the cPanel username associated with the domain. `root@SAU-ID:~# passwd example` `Changing password for the user “example” …` `Changing password for “example”.` `New UNIX password: ` `Retype new UNIX password: ` `info [passwd] internal PURGE username:IQt2J9HN8aAe97T1 password_change` `passwd: The system has successfully updated all authentication tokens.` `The system has updated the passwords for the following services: MySQL, ftp, mail, system`