Cart

    Sorry, we could not find any results for your search querry.

    Changing user passwords in Debian 11

    The password of users on your Debian 11 VPS can be easily changed using command-line via SSH, or the VPS console. There are three options, depending on which user you want to change the password for:

    A minimal Debian installation comes without a sudo-command. In this article, we explain how you can install it.

    • your own password:
      passwd
    • the root password:

      There are two options: the first option is to first switch to the root user and then change the password:
      su root
      passwd
      or adjust the root password directly:
      sudo passwd

      Have you lost your current root password? Then consult this article to reset your root password.

    • the password of another user:
      sudo passwd user
      Replace user with the actual username.               

    Need help?

    Receive personal support from our supporters

    Contact us