It is important to periodically change your password to ensure the security of your VPS server. Manual password changing procedures in Linux systems are quite simple and can be easily accomplished by following the steps below.
- Connect to the server using an SSH client (for example, PuTTY).
- Run the following command.
passwd
- Enter your current password and press the Enter key.
- Set your new password.
Having a strong password is crucial for the security of your VPS. Here are some tips for creating a strong password:- Choose a password that is at least 12 characters long.
- Use a mix of uppercase and lowercase letters, numbers, and special characters.
- Avoid using easily guessable combinations.
- Refrain from using the same password across multiple accounts.
- It will ask you to retype your new password with ‘Retype new password.’ Type your new password and press the Enter key again.
- With these steps, your VPS password will be reset. You can access the server using your new password.
Important information: If you need to change the password of another user on your server, you should use the following command instead of ‘passwd,’ and you should enter the user’s name in the ‘Username’ section.
passwd username