Change password on Linux (Debian, Ubuntu and CentOS)

To change the password of the Dedicated Server and/or VPS with a Linux Operating System (Debian, Ubuntu and CentOS) you will need to perform the following steps:

  • Login to the Dedicated Server and/or VPS with the root user and/or the user you want to change the password.
  • Enter the command depending on the following scenarios:
    • If you are already logged in with the user you want to change the password, you must enter the following command: "passwd" (without quotes).
    • If you are logged in with the root user and want to change the password to another user, you must enter the following command "passwd user" (without quotes).

  • Enter the desired password. It is worth mentioning that it is always necessary to enter the password twice! Introucing the password twice, the Operating System can confirm that both passwords entered are exactly the same.

Note: When entering the password, the characters will not be shown in the terminal for security reasons, which does not mean that they are not being entered.

  • 23 Users Found This Useful
Was this answer helpful?

Related Articles

 Reinstall VPS

To reinstall the VPS, you will need to perform the following steps: Access Solus-VM. Select...

 Initial Configuration Windows Server 2012, 2016, 2019 & 2022

To make the initial configuration of Windows Server 2012, 2016, 2019 & 2022 you will need to...

 Open ports on Windows Server 2012, 2016, 2019 & 2022

To open the Dedicated Server and/or VPS ports with Windows Server 2016, 2019 & 2022, you will...

 Restrict access on RDP (Remote Desktop) by IP Address

To restrict RDP connections to Dedicated Server and/or VPS on Windows Server 2012, 2016, 2019...

 Change password on Windows Server 2012

To change the password of the Dedicated Server and/or VPS on Windows Server 2012 you will need to...

Powered by WHMCompleteSolution

§