Wiki-Quellcode von Kennwort des Serverbenutzers root ändern
Version 3.7 von Michael Ecer am 2022/05/16 12:31
Verstecke letzte Bearbeiter
author | version | line-number | content |
---|---|---|---|
![]() |
1.1 | 1 | (% style="color:#000000" %)In dieser Anleitung behandeln wir, wie man das Root-Passwort eines logoDIDACT-Servers ändert. |
2 | |||
![]() |
2.1 | 3 | |
![]() |
1.1 | 4 | (% style="color:#000000" %)Zuerst müssen Sie sich in den puppeteer Container einloggen. |
5 | |||
6 | (% style="color:#000000" %)Hierfür geben Sie bitte folgenden Befehl ein: | ||
7 | |||
![]() |
2.1 | 8 | (% class="box" %) |
9 | ((( | ||
10 | (% style="color:#000000" %)##ssh puppeteer## | ||
11 | ))) | ||
![]() |
1.1 | 12 | |
13 | (% style="color:#000000" %)Mit dem Befehl | ||
14 | |||
![]() |
2.1 | 15 | (% class="box" %) |
16 | ((( | ||
17 | (% style="color:#000000" %)##puppet-passwd## | ||
18 | ))) | ||
![]() |
1.1 | 19 | |
20 | (% style="color:#000000" %)können Sie nun das neue Passwort vergeben. | ||
21 | |||
22 | |||
![]() |
3.1 | 23 | (% style="color:#000000" %)Es wird ein Passwort Hash in die (% style="color:#2980b9" %)/var/lib/ld-puppet/hiera.d/deploy.yaml(% style="color:#000000" %) eingetragen und von dort an die verwalteten Container sowie den ldhost verteilt. |
![]() |
2.1 | 24 | |
25 | |||
![]() |
1.1 | 26 | (% style="color:#000000" %)Danach wechseln Sie mit |
27 | |||
![]() |
2.1 | 28 | (% class="box" %) |
29 | ((( | ||
30 | (% style="color:#000000" %)##ssh logosrv## | ||
31 | ))) | ||
![]() |
1.1 | 32 | |
33 | (% style="color:#000000" %)in den logosrv Container und führen dort den Befehl | ||
34 | |||
![]() |
2.1 | 35 | (% class="box" %) |
36 | ((( | ||
37 | (% style="color:#000000" %)##passwd## | ||
38 | ))) | ||
![]() |
1.1 | 39 | |
![]() |
3.1 | 40 | (% style="color:#000000" %)aus. Hierbei muss dasselbe Passwort vergeben werden, welches Sie im puppeteer gesetzt haben. |