How to change the password on the Debian 9 operating system

24.04.2021
20:13

It is recommended that you change your Debian 9 server user password every 3 months to ensure your security and that of your clients.

This is quite easy to do. There are a few simple steps to follow:

  1. Perform a system restart
  2. When the boot menu is displayed, press the Latin key"e".
  3. In the boot parameters go to the line starting with the word"linux" and at the end of this line write: init=/bin/bash.
  4. Press the key combination"Ctrl-X" or"F10" to perform the boot.
  5. The boot will be completed and you will be able to enter commands, now you need to enter a command to mount the file system in read-write mode:
    mount -rw -o remount /
  6. Next, enter the command to set a new user password:
    "passwd name_user", where name_user is your user name, and all problems will be solved.

As you can see, there is nothing complicated in changing the password.

15% discount on new VPS
Hurry up to order a server in any location
Choose a VPS

Other articles

24.04.2021
5 762
Knowledge base / Instructions - THE.Hosting
How to change the password on the Debian 8 operating system
24.04.2021
6 266
Knowledge base / Instructions - THE.Hosting
How to change password on Ubuntu 14 operating system
24.04.2021
23 801
Knowledge base / Instructions - THE.Hosting
How to change password on Debian 10