From mboxrd@z Thu Jan 1 00:00:00 1970 From: "pelzflorian (Florian Pelz)" Subject: bug#35806: Login passwords incorrect on some newly installed 1.0.1 systems Date: Mon, 20 May 2019 11:38:55 +0200 Message-ID: <20190520093855.3ldl2mjhgi3fx6qz@pelzflorian.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:58826) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSem3-0001jN-Mq for bug-guix@gnu.org; Mon, 20 May 2019 05:40:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hSem2-0003KY-LM for bug-guix@gnu.org; Mon, 20 May 2019 05:40:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50769) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hSem2-0003KS-Gz for bug-guix@gnu.org; Mon, 20 May 2019 05:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hSem2-00055j-Af for bug-guix@gnu.org; Mon, 20 May 2019 05:40:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:58752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSell-0001cW-CV for bug-guix@gnu.org; Mon, 20 May 2019 05:39:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hSelk-0003EH-BA for bug-guix@gnu.org; Mon, 20 May 2019 05:39:45 -0400 Received: from pelzflorian.de ([5.45.111.108]:48610 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hSeli-0003DL-Ny for bug-guix@gnu.org; Mon, 20 May 2019 05:39:44 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 65BE836003D for ; Mon, 20 May 2019 11:38:55 +0200 (CEST) Content-Disposition: inline List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 35806@debbugs.gnu.org Login fails with Login incorrect on a system newly installed from the 1.0.1 ISO image =E2=80=94 on only so= me reinstalls. Maybe it was my fault, but maybe not, it is kind of spooky. Can others reproduce? The first time the password was correctly set to x in /etc/passwd and in /etc/shadow the line looked normal. Maybe I made a typo when setting up the password? I tried to reproduce with a less sensitive password =E2=80=9Cy=E2=80=9D f= or root and I believe an empty user password or maybe =E2=80=9Cy=E2=80=9D too; now I go= t no user entry in /etc/passwd and /etc/shadow but can log in as root. This was the content of /etc/passwd: root:x:0:0::/root:/gnu/store/qn1ax1fkj16x280m1rv7mcimfmn9l2pf-bash-4.4.23= /bin/bash nobody:x:65534:997::/nonexistent:/gnu/store/dl8k19fivmv181d81lpn1nadsf219= ky8-shadow-4.6/sbin/nologin guixbuilder01:x:999:30000:Guix Build User 1:/var/empty:/gnu/store/dl8k19= fivmv181d81lpn1nadsf219ky8-shadow-4.6/sbin/nologin guixbuilder02:x:998:30000:Guix Build User 2:/var/empty:/gnu/store/dl8k19= fivmv181d81lpn1nadsf219ky8-shadow-4.6/sbin/nologin guixbuilder03:x:997:30000:Guix Build User 3:/var/empty:/gnu/store/dl8k19= fivmv181d81lpn1nadsf219ky8-shadow-4.6/sbin/nologin guixbuilder04:x:996:30000:Guix Build User 4:/var/empty:/gnu/store/dl8k19= fivmv181d81lpn1nadsf219ky8-shadow-4.6/sbin/nologin guixbuilder05:x:995:30000:Guix Build User 5:/var/empty:/gnu/store/dl8k19= fivmv181d81lpn1nadsf219ky8-shadow-4.6/sbin/nologin guixbuilder06:x:994:30000:Guix Build User 6:/var/empty:/gnu/store/dl8k19= fivmv181d81lpn1nadsf219ky8-shadow-4.6/sbin/nologin guixbuilder07:x:993:30000:Guix Build User 7:/var/empty:/gnu/store/dl8k19= fivmv181d81lpn1nadsf219ky8-shadow-4.6/sbin/nologin guixbuilder08:x:992:30000:Guix Build User 8:/var/empty:/gnu/store/dl8k19= fivmv181d81lpn1nadsf219ky8-shadow-4.6/sbin/nologin guixbuilder09:x:991:30000:Guix Build User 9:/var/empty:/gnu/store/dl8k19= fivmv181d81lpn1nadsf219ky8-shadow-4.6/sbin/nologin guixbuilder10:x:990:30000:Guix Build User 10:/var/empty:/gnu/store/dl8k19= fivmv181d81lpn1nadsf219ky8-shadow-4.6/sbin/nologin messagebus:x:989:983:D-Bus system bus user:/var/run/dbus:/gnu/store/dl8k1= 9fivmv181d81lpn1nadsf219ky8-shadow-4.6/sbin/nologin polkitd:x:988:982:Polkit daemon user:/var/empty:/run/current-system/profi= le/sbin/nologin The content of /etc/shadow was root:$6$vWBy92HZjt$P.g83qzyyuZ0AebfKjsS/gZV.1SlaMkUqsmsO9cP1yXtpsCIE.9gDN= DtMVwZWa..wmvVNqjqgjg7OFhKadshF.:18036:::::: nobody:!:18036:::::: guixbuilder01:!:18036:::::: guixbuilder02:!:18036:::::: guixbuilder03:!:18036:::::: guixbuilder04:!:18036:::::: guixbuilder05:!:18036:::::: guixbuilder06:!:18036:::::: guixbuilder07:!:18036:::::: guixbuilder08:!:18036:::::: guixbuilder09:!:18036:::::: guixbuilder10:!:18036:::::: messagebus:!:18036:::::: polkitd:!:18036:::::: Maybe I turned off my computer at the wrong time when booting into the installed system? But the passwords get set up before the first boot, don=E2=80=99t they? I reinstalled again since then. Now it works. Regards, Florian