----- On Mar 16, 2021, at 6:38 PM, jpr liste01 jpr.liste01@jpberlin.de wrot= e:
On Tue, 16 Mar 2021 17:31:37 +0100 (CET) "Lentes, Bernd"
wrote: =20 Hallo Bernd! =20 root-Partition gemountet, den hashwert in > /etc/shadow=3D gel=3DC3=3DB6scht, Neustart ... Vor langer Zeit habe ich es auch mal erfolgreich so gemacht, bin mir aber nicht sicher, ob ich das Feld tats=C3=A4chlich leer gelassen habe. =20 Ich gehe davon aus, da=C3=9F der Anfang der Zeile in shadow jetzt so aussieht und Du nicht aus Versehen einen ":" mit gel=C3=B6scht hast: root:: [usw.] Lt. man shadow sollte das funktionieren.
sieht genau so aus: root::18554:::::: man shadow: If the password field contains some string that is not a valid result of cr= ypt(3), for instance ! or *, the user will not be able to use a unix passwo= rd to log in (but the user may log in the system by other means). This field may be empty, in which case no passwords are required to authent= icate as the specified login name. However, some applications which read th= e /etc/shadow file may decide not to permit any access at all if the passwo= rd field is empty. Also mit * oder ! ist auch nix. Und wenn das Feld leer ist, kann er sich ohne PW anmelden. Und dann wird es f=C3=BCr manpages bemerkenswert unpr=C3=A4zise. However, "some applications" which read the /etc/shadow file may decide not= to permit any access at all if the password field is empty. Was k=C3=B6nnten das f=C3=BCr "some applications" sein ? Bernd Helmholtz Zentrum München Helmholtz Zentrum Muenchen Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH) Ingolstaedter Landstr. 1 85764 Neuherberg www.helmholtz-muenchen.de Aufsichtsratsvorsitzende: MinDir.in Prof. Dr. Veronika von Messling Geschaeftsfuehrung: Prof. Dr. med. Dr. h.c. Matthias Tschoep, Kerstin Guenther Registergericht: Amtsgericht Muenchen HRB 6466 USt-IdNr: DE 129521671