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
Copy file name to clipboardExpand all lines: pages/bare_metal_cloud/dedicated_servers/replacing-user-password/guide.de-de.md
+47-19Lines changed: 47 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,9 @@
1
1
---
2
2
title: "Wiederherstellen des Serverzugriffs bei Passwortverlust"
3
3
excerpt: "Erfahren Sie hier, wie Sie mit dem OVHcloud Rescue-Modus ein neues Passwort für einen Benutzer-Account auf einem GNU/Linux-Betriebssystem einrichten"
4
-
updated: 2024-02-19
4
+
updated: 2025-10-02
5
5
---
6
6
7
-
> [!primary]
8
-
> Diese Übersetzung wurde durch unseren Partner SYSTRAN automatisch erstellt. In manchen Fällen können ungenaue Formulierungen verwendet worden sein, z.B. bei der Beschriftung von Schaltflächen oder technischen Details. Bitte ziehen Sie im Zweifelsfall die englische oder französische Fassung der Anleitung zu Rate. Möchten Sie mithelfen, diese Übersetzung zu verbessern? Dann nutzen Sie dazu bitte den Button "Beitragen" auf dieser Seite.
9
-
>
10
-
11
7
## Ziel
12
8
13
9
Ohne eine alternative Authentifizierungsmethode oder einen anderen Benutzer-Account bedeutet der Verlust Ihres Passworts, dass Sie sich nicht mehr auf regulärem Weg bei Ihrem Server einloggen können.
@@ -28,7 +24,7 @@ In diesem Fall können Sie sich über den OVHcloud Rescue-Modus mit Ihrem Server
28
24
29
25
> [!primary]
30
26
>
31
-
> Diese Anleitung gilt nicht für Installationen von **Windows** Server. Folgen Sie stattdessen unserer Anleitung zum [Ändern des Administratorpassworts auf einem Windows Dedicated Server](/pages/bare_metal_cloud/dedicated_servers/rcw-changing-admin-password-on-windows) oder [Ändern des Administratorpassworts auf einem Windows VPS](/pages/bare_metal_cloud/virtual_private_servers/resetting_a_windows_password).
27
+
> Diese Anleitung gilt nicht für Installationen von **Windows** Server. Folgen Sie stattdessen unserer Anleitung zum [Ändern des Administrator-Passworts auf einem Windows Dedicated Server](/pages/bare_metal_cloud/dedicated_servers/rcw-changing-admin-password-on-windows) oder [Ändern des Administrator-Passworts auf einem Windows VPS](/pages/bare_metal_cloud/virtual_private_servers/resetting_a_windows_password).
32
28
>
33
29
34
30
## In der praktischen Anwendung
@@ -39,16 +35,16 @@ Lesen Sie ggf. auch unsere Anleitung zu den ersten Schritten für Ihren Dienst:
39
35
- Für einen [Dedicated Server der Reihe **Eco**](/pages/bare_metal_cloud/dedicated_servers/getting-started-with-dedicated-server-eco)
40
36
- Für einen [VPS](/pages/bare_metal_cloud/virtual_private_servers/starting_with_a_vps)
41
37
42
-
43
38
> [!warning]
39
+
>
44
40
> OVHcloud stellt Ihnen Dienstleistungen zur Verfügung, für deren Konfiguration und Verwaltung Sie die alleinige Verantwortung tragen. Es liegt somit bei Ihnen, sicherzustellen, dass diese ordnungsgemäß funktionieren.
45
41
>
46
42
> Wir stellen Ihnen diese Anleitung zur Verfügung, um Ihnen bei der Bewältigung alltäglicher Verwaltungsaufgaben zu helfen. Dennoch empfehlen wir Ihnen, einen [spezialisierten Dienstleister](/links/partner) zu kontaktieren oder Ihre Fragen an die [OVHcloud Community](https://community.ovh.com/en/) zu richten, wenn Sie Schwierigkeiten oder Zweifel hinsichtlich der Verwaltung, Nutzung oder Implementierung der Dienste auf einem Server haben.
47
43
>
48
44
49
45
<aname="step1"></a>
50
46
51
-
### Schritt 1: Server im Rescue-Modus neu starten
47
+
### Schritt 1 - Server im Rescue-Modus neu starten
52
48
53
49
Folgen Sie den Schritten unserer Anleitungen zum Rescue-Modus, um sich mit Ihrem Server zu verbinden und Ihre Partitionen zu mounten:
54
50
@@ -69,27 +65,59 @@ Der exakte Befehl hängt vom verwendeten Mountpunkt ab. Wenn Sie Ihre Partition
69
65
chroot /mnt/
70
66
```
71
67
72
-
### Schritt 2: Benutzer-Passwort zurücksetzen
68
+
### Schritt 2 - Identifizieren der Benutzer-Accounts und Zurücksetzen des Passworts
73
69
74
-
Hinweis: Bei einer GNU/Linux-Distribution **zeigt eine Passworteingabeaufforderung keine Tastatureingaben an**.
70
+
Nachdem Sie die Partition gemountet und `chroot /mnt` (oder den entsprechenden Befehl) ausgeführt haben, verfügen Sie über **root**-Berechtigungen auf dem System.
75
71
76
-
Ändern Sie das Passwort des Benutzers mit folgendem Befehl (ersetzen Sie `username` durch den Namen des Benutzer-Accounts):
72
+
Ermitteln Sie ggf. alle relevanten Benutzer-Accounts mithilfe des folgenden Befehls:
Denken Sie daran, den regulären Startmodus zu verwenden, wenn Sie Ihren Server im [OVHcloud Kundencenter](/links/manager) neu starten.
93
+
Finden Sie Ihre(n) zu bearbeitenden Benutzernamen in der Liste der Accounts.
94
+
95
+
Geben Sie folgenden Befehl ein, um das Kennwort für einen bestimmten Account zu ändern (z. B. **user1**):
96
+
97
+
```bash
98
+
passwd user1
99
+
```
100
+
101
+
Geben Sie das neue Kennwort zweimal ein und bestätigen Sie:
102
+
103
+
```console
104
+
# New password:
105
+
# Retype new password:
106
+
# passwd: password updated successfully
107
+
```
108
+
109
+
Bei einer GNU/Linux-Distribution zeigt **die Eingabeaufforderung für Passwörter Ihre Tastatureingabe nicht an**.
110
+
111
+
> [!primary]
112
+
>
113
+
> Vermeiden Sie es, den Befehl `passwd` ohne Argumente auszuführen: Dieser Befehl ändert das Passwort des aktuellen Kontos (**root** nach der Ausführung von `chroot` ist).
114
+
> Verwenden Sie deshalb `passwd <Benutzer>`.
115
+
116
+
Denken Sie daran, den regulären Startmodus zu aktivieren, bevor Sie Ihren Server im [OVHcloud Kundencenter](/links/manager) neu starten.
89
117
90
118
Folgen Sie bei Bedarf der passenden [Anleitung zum Rescue-Modus](#step1).
91
119
92
-
Sie haben nun mit Ihrem neuen Passwort Zugriff auf den Server.
120
+
Der bearbeitete Benutzer-Account hat nun Zugriff auf den Server mit dem neuen Passwort.
93
121
94
122
## Weiterführende Informationen
95
123
@@ -101,4 +129,4 @@ Sie haben nun mit Ihrem neuen Passwort Zugriff auf den Server.
101
129
102
130
[Konfigurieren von Benutzer-Accounts und Root-Zugriff auf einem Server](/pages/bare_metal_cloud/dedicated_servers/changing_root_password_linux_ds)
103
131
104
-
Für den Austausch mit unserer User Community gehen Sie auf <https://community.ovh.com/en/>.
132
+
Für den Austausch mit unserer User Community gehen Sie auf <https://community.ovh.com/en/>.
Copy file name to clipboardExpand all lines: pages/bare_metal_cloud/dedicated_servers/replacing-user-password/guide.en-asia.md
+46-15Lines changed: 46 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,9 @@
1
1
---
2
2
title: How to recover server access if your user password is lost
3
3
excerpt: Find out how to configure a new password for a user account on a GNU/Linux operating system with the OVHcloud rescue mode
4
-
updated: 2024-02-19
4
+
updated: 2025-10-02
5
5
---
6
6
7
-
8
7
## Objective
9
8
10
9
Without a different mode of authentication or another user account, losing your password means you can no longer log in to your server in a regular way.
@@ -24,6 +23,7 @@ To recover access to a server that you log in to with an SSH key, refer to our g
24
23
- Access to the [OVHcloud Control Panel](/links/manager)
25
24
26
25
> [!primary]
26
+
>
27
27
> This guide is not applicable for **Windows** server installations. Please refer to our guides on [How to change the admin password on a Windows dedicated server](/pages/bare_metal_cloud/dedicated_servers/rcw-changing-admin-password-on-windows) and [How to change the admin password on a Windows VPS](/pages/bare_metal_cloud/virtual_private_servers/resetting_a_windows_password).
28
28
>
29
29
@@ -36,14 +36,15 @@ Be sure to consult our "Getting started" guides as well:
36
36
- For a [VPS](/pages/bare_metal_cloud/virtual_private_servers/starting_with_a_vps)
37
37
38
38
> [!warning]
39
-
>OVHcloud is providing you with services for which you are responsible, with regard to their configuration and management. It is therefore your responsibility to ensure that they function correctly.
40
39
>
41
-
>This guide is designed to assist you in common tasks as much as possible. Nevertheless, we recommend that you contact a [specialist service provider](/links/partner) or reach out to [our community](https://community.ovh.com/en/) if you face difficulties or doubts concerning the administration, usage or implementation of services on a server.
40
+
> OVHcloud is providing you with services for which you are responsible, with regard to their configuration and management. It is therefore your responsibility to ensure that they function correctly.
41
+
>
42
+
> This guide is designed to assist you in common tasks as much as possible. Nevertheless, we recommend that you contact a [specialist service provider](/links/partner) or reach out to [our community](https://community.ovh.com/en/) if you face difficulties or doubts concerning the administration, usage or implementation of services on a server.
42
43
>
43
44
44
45
<aname="step1"></a>
45
46
46
-
### Step 1: Restart the server into rescue mode
47
+
### Step 1 - Restart the server into rescue mode
47
48
48
49
Use the corresponding rescue mode guide to connect to your server and mount your partitions:
49
50
@@ -64,28 +65,58 @@ The exact command depends on the mountpoint you used. For example, if you have m
64
65
chroot /mnt/
65
66
```
66
67
67
-
### Step 2: Reset the user password
68
+
### Step 2 - Identify the user account(s) and reset the password
68
69
69
-
Note: On a GNU/Linux distribution, **a password prompt will not display your keyboard inputs**.
70
+
After mounting the partition and running `chroot /mnt` (or the equivalent), you have **root** privileges on the mounted system.
70
71
71
-
Change the user password with the following command (replace `username` with the actual name of the user account):
72
+
If needed, before changing a password, **identify existing accounts** using the following command:
To change the password for a specific account (e.g. **user1**), enter this comand:
95
+
96
+
```bash
97
+
passwd user1
81
98
```
82
99
100
+
Enter the new password twice and confirm:
101
+
102
+
```console
103
+
# New password:
104
+
# Retype new password:
105
+
# passwd: password updated successfully
106
+
```
107
+
108
+
On a GNU/Linux distribution, **a password prompt does not display your keyboard input**.
109
+
110
+
> [!primary]
111
+
>
112
+
> Avoid running the `passwd` command without arguments: This command modifies the password of the current account (which is **root** after executing `chroot`).
113
+
> Always specify `passwd <user>`.
114
+
83
115
Remember to use the regular boot mode of your server when restarting it in your [OVHcloud Control Panel](/links/manager).
84
116
85
117
Refer to the corresponding [rescue mode guide](#step1) if necessary.
86
118
87
-
You have now access to the server with your new password.
88
-
119
+
The modified user account has now access to the server with the new password.
Copy file name to clipboardExpand all lines: pages/bare_metal_cloud/dedicated_servers/replacing-user-password/guide.en-au.md
+46-15Lines changed: 46 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,9 @@
1
1
---
2
2
title: How to recover server access if your user password is lost
3
3
excerpt: Find out how to configure a new password for a user account on a GNU/Linux operating system with the OVHcloud rescue mode
4
-
updated: 2024-02-19
4
+
updated: 2025-10-02
5
5
---
6
6
7
-
8
7
## Objective
9
8
10
9
Without a different mode of authentication or another user account, losing your password means you can no longer log in to your server in a regular way.
@@ -24,6 +23,7 @@ To recover access to a server that you log in to with an SSH key, refer to our g
24
23
- Access to the [OVHcloud Control Panel](/links/manager)
25
24
26
25
> [!primary]
26
+
>
27
27
> This guide is not applicable for **Windows** server installations. Please refer to our guides on [How to change the admin password on a Windows dedicated server](/pages/bare_metal_cloud/dedicated_servers/rcw-changing-admin-password-on-windows) and [How to change the admin password on a Windows VPS](/pages/bare_metal_cloud/virtual_private_servers/resetting_a_windows_password).
28
28
>
29
29
@@ -36,14 +36,15 @@ Be sure to consult our "Getting started" guides as well:
36
36
- For a [VPS](/pages/bare_metal_cloud/virtual_private_servers/starting_with_a_vps)
37
37
38
38
> [!warning]
39
-
>OVHcloud is providing you with services for which you are responsible, with regard to their configuration and management. It is therefore your responsibility to ensure that they function correctly.
40
39
>
41
-
>This guide is designed to assist you in common tasks as much as possible. Nevertheless, we recommend that you contact a [specialist service provider](/links/partner) or reach out to [our community](https://community.ovh.com/en/) if you face difficulties or doubts concerning the administration, usage or implementation of services on a server.
40
+
> OVHcloud is providing you with services for which you are responsible, with regard to their configuration and management. It is therefore your responsibility to ensure that they function correctly.
41
+
>
42
+
> This guide is designed to assist you in common tasks as much as possible. Nevertheless, we recommend that you contact a [specialist service provider](/links/partner) or reach out to [our community](https://community.ovh.com/en/) if you face difficulties or doubts concerning the administration, usage or implementation of services on a server.
42
43
>
43
44
44
45
<aname="step1"></a>
45
46
46
-
### Step 1: Restart the server into rescue mode
47
+
### Step 1 - Restart the server into rescue mode
47
48
48
49
Use the corresponding rescue mode guide to connect to your server and mount your partitions:
49
50
@@ -64,28 +65,58 @@ The exact command depends on the mountpoint you used. For example, if you have m
64
65
chroot /mnt/
65
66
```
66
67
67
-
### Step 2: Reset the user password
68
+
### Step 2 - Identify the user account(s) and reset the password
68
69
69
-
Note: On a GNU/Linux distribution, **a password prompt will not display your keyboard inputs**.
70
+
After mounting the partition and running `chroot /mnt` (or the equivalent), you have **root** privileges on the mounted system.
70
71
71
-
Change the user password with the following command (replace `username` with the actual name of the user account):
72
+
If needed, before changing a password, **identify existing accounts** using the following command:
To change the password for a specific account (e.g. **user1**), enter this comand:
95
+
96
+
```bash
97
+
passwd user1
81
98
```
82
99
100
+
Enter the new password twice and confirm:
101
+
102
+
```console
103
+
# New password:
104
+
# Retype new password:
105
+
# passwd: password updated successfully
106
+
```
107
+
108
+
On a GNU/Linux distribution, **a password prompt does not display your keyboard input**.
109
+
110
+
> [!primary]
111
+
>
112
+
> Avoid running the `passwd` command without arguments: This command modifies the password of the current account (which is **root** after executing `chroot`).
113
+
> Always specify `passwd <user>`.
114
+
83
115
Remember to use the regular boot mode of your server when restarting it in your [OVHcloud Control Panel](/links/manager).
84
116
85
117
Refer to the corresponding [rescue mode guide](#step1) if necessary.
86
118
87
-
You have now access to the server with your new password.
88
-
119
+
The modified user account has now access to the server with the new password.
0 commit comments