Password polzovatelya yavlyaetsya odnim iz osnovnykh elementov bezopasnosti servera ili rabochey stantsii pod upravleniem Ubuntu. The regular password change helps to protect the system from unsanctioned access and increase the security level of the account.
In this instruction, I will show you how to change the password of the user in Ubuntu through the terminal. Follower version of the method:
Esli vy ispolzuete udalennyy server, snachala podklyuchites k nemu po SSH:
ssh username@server-ip
Where:
Primer:
ssh root@192.168.1.10
To change the password of the current user, complete the command:
passwd
Sistema posledovatelno prozit:
Current password:
New password:
Retype new password:
Enter:
After the successful change, a message will appear:
passwd: password updated successfully
Esli u vas est prava administratora (sudo), vy mojete izmenit password lyubogo polzovatelya na servere.
Use the command:
sudo passwd username
For example:
sudo passwd airnet
After completing the command, you need to enter a new password:
New password:
Retype new password:
After a successful change, the system displays:
passwd: password updated successfully
Dlya obespecheniya bezopasnosti rekomenduetsya ispolzovat slojnye password:
Primary password:
Airnet#2026Secure!Linux
Ne rekomenduetsya ispolzovat:
123456
password
qwerty
admin123
After changing the password, it is recommended to open the new SSH connection and verify that the login is complete with the new password.
Eto pozvolit proverit korektnost izmeneniy do zavershenia tekushchey sessii.
Soobshchenie mojet poyavitsya pri ispolzovanii slishkom prostogo parolya:
BAD PASSWORD: The password is too short
And in this case, it is recommended to choose a more suitable combination of symbols.
Ashibka mojet voznikat pri otsutstvii neokhodimyx prav dostupa ili pvorejdenii filev authentication.
To change the password, use sudo or root.
Change the password in Ubuntu vypolnyaetsya all the same command:
passwd
To change the password of another user:
sudo passwd username
Regular password change helps increase the security of the server and protects the system from unsanctioned access.
Na serverax AIRNET dostupny vse actualnye version Ubuntu:
You can order a VPS/VDS server with pre-installed Ubuntu and get full root access for system management.
The user account is opened immediately upon application.
You can start using the service immediately after payment.