You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To change the password for a specific account (e.g. **user1**), enter this comand:
79
95
80
96
```bash
81
97
passwd user1
98
+
```
99
+
100
+
Enter the new password twice and confirm:
101
+
102
+
```console
82
103
# New password:
83
104
# Retype new password:
84
105
# passwd: password updated successfully
85
106
```
86
107
87
108
> [!primary]
88
109
>
89
-
> Avoid running the `passwd` command without arguments: This command modifies the password of the current account (which is often **root** after running`chroot`).
110
+
> Avoid running the `passwd` command without arguments: This command modifies the password of the current account (which is **root** after executing`chroot`).
90
111
> Always specify `passwd <user>`.
91
112
92
113
Remember to use the regular boot mode of your server when restarting it in your [OVHcloud Control Panel](/links/manager).
93
114
94
115
Refer to the corresponding [rescue mode guide](#step1) if necessary.
95
116
96
-
You have now access to the server with your new password.
117
+
The modified user account has now access to the server via SSH with the new password.
97
118
98
119
## Go further
99
120
@@ -105,4 +126,4 @@ You have now access to the server with your new password.
105
126
106
127
[How to configure user accounts and root access on a server](/pages/bare_metal_cloud/dedicated_servers/changing_root_password_linux_ds)
0 commit comments