Stefan Reuther <stef…@arcor.de> wrote:
> Eher andersrum. Ein Root-Account _ohne_ Passwort ist gefährdet, weil
> musl crypt für "dieses Passwort ist mir zu lang zum Hashen" den gleichen
> magischen String liefert, wie er gemeinhin für "dieser Account hat kein
> Passwort" benutzt wird.
Ja, aber man muss mindestens ein Passwort manuell gesetzt haben:
| Cloud images (tiny-cloud)
| The official tiny-cloud images (the qcow2, VHD and AMI artifacts) from
| 3.18.11 through 3.24.3 ship an alpine user with a * password field and
| passwordless doas. They are safe on first boot. They become exploitable
| as soon as any $6$ hash exists on the machine, for example when an
| admin sets a console password, or user-data adds a user with hashed_passwd.
| An attacker then gets a shell as alpine and can use doas to become root.
https://alpinelinux.org/posts/2026-11-05-openssh-password-authentication-bypass/
> Den OpenSSHd startet man, wenn man von außen in den Container reinkucken
> möchte.
Das mach ich nie. Ich "entere" vom Hostystem wenn ich reinschaun will,
ohne ssh.
/ralph