How to change the password on the Ubuntu 18 operating system

30.04.2021
19:57

To change the password on Ubuntu 18 you need to open a terminal and enter the following command:

$ passwd [settings] [user_name]

To change the password for another user, you need to log in as superuser:

$ sudo passwd user

Here user is the user for whom you want to change the password in Ubuntu.

You can delete the password in Linux for a user, then the user will not be able to log in.

$ sudo passwd -d user
15% discount on new VPS
Hurry up to order a server in any location
Choose a VPS

Other articles

30.04.2021
6 385
Knowledge base / Instructions - THE.Hosting
Anycast VPS
30.04.2021
22 361
Knowledge base / Equipment
Deleting the Git branch
30.04.2021
30 470
Knowledge base / Windows
How to restore Grub after Windows installation