From nobody Tue May 30 06:41:33 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QVjVQ5dFlz4Xxqf for ; Tue, 30 May 2023 06:41:50 +0000 (UTC) (envelope-from Alexander@leidinger.net) Received: from mailgate.Leidinger.net (bastille.leidinger.net [89.238.82.207]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (P-256) client-digest SHA256) (Client CN "mailgate.leidinger.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QVjVP0snDz3KM3 for ; Tue, 30 May 2023 06:41:49 +0000 (UTC) (envelope-from Alexander@leidinger.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=leidinger.net header.s=outgoing-alex header.b=Ib+Q+qNz; spf=pass (mx1.freebsd.org: domain of Alexander@leidinger.net designates 89.238.82.207 as permitted sender) smtp.mailfrom=Alexander@leidinger.net; dmarc=pass (policy=quarantine) header.from=leidinger.net Date: Tue, 30 May 2023 08:41:33 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leidinger.net; s=outgoing-alex; t=1685428897; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=yme+OjdCPn8TEFTKhrI/8eDY4f0ql5cD8zhntTJMwoc=; b=Ib+Q+qNzdZ5Tsy+98f/WSpXySBltKMeO3lMBHpkasamD88+fPdYGQ+R7MYWdGMYFrYcXK+ 0COUzs0IJsIX1TqtwKeZwi3Xr02FZ8anxFO45Ej6n7zNZax7FgEu9nb4mhlwj7EU5akiur TA0ifiOK3czQPfhqqEub94I3LiigNS8kmldp68Sa7PjjAlxaIXyZxuXKoLVUVpnvTj1kAx 8io6SnclI534RibwUUCdFpPmY9cuVEFEPRc+y/u2OV3+xfY4W9xQJzsv6KZH0JvbWNGR/x dpLEOW+WcljYFVpGIsWaWJUV3CcUHj+Xc+vWMtQmt57qOsftLpxUm96VHQ60RA== Message-ID: <20230530084133.Horde.4VevT2KY4XCtqoJgvP08jyB@webmail.leidinger.net> From: Alexander Leidinger To: bob prohaska Cc: Yuri , freebsd-current@freebsd.org Subject: Re: Surprise null root password References: <945C9B6D-F2A8-4F0D-BDB0-49A3DE870168@karels.net> <61e30711-f0da-2f42-3a6f-9bd91fc6b1ce@aetern.org> In-Reply-To: Accept-Language: de,en Content-Type: multipart/signed; boundary="=_Rpe4aGUFSs02wNReq4vofJ3"; protocol="application/pgp-signature"; micalg=pgp-sha256 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 X-Spamd-Result: default: False [-6.08 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.980]; DMARC_POLICY_ALLOW(-0.50)[leidinger.net,quarantine]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[leidinger.net:s=outgoing-alex]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[leidinger.net:+]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:34240, ipnet:89.238.64.0/18, country:DE] X-Rspamd-Queue-Id: 4QVjVP0snDz3KM3 X-Spamd-Bar: ------ X-ThisMailContainsUnwantedMimeParts: N This message is in MIME format and has been PGP signed. --=_Rpe4aGUFSs02wNReq4vofJ3 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoting bob prohaska (from Fri, 26 May 2023=20=20 16:26:06=20-0700): > On Fri, May 26, 2023 at 10:55:49PM +0200, Yuri wrote: >> >> The question is how you update the configuration files, >> mergemaster/etcupdate/something else? >> > > Via etcupdate after installworld. In the event the system > requests manual intervention I accept "theirs all". It seems > odd if that can null a root password. > > Still, it does seem an outside possibility. I could see it adding > system users, but messing with root's existing password seems a > bit unexpected. As you are posting to -current@, I expect you to report this issue=20=20 about=2014-current systems. As such: there was a "recent" change=20=20 (2021-10-20)=20to the root entry to change the shell. =20=20=20=20=20=20 https://cgit.freebsd.org/src/commit/etc/master.passwd?id=3Dd410b585b6f00a26= c2de7724d6576a3ea7d548b7 By blindly accepting all changes, this has reset the PW to the default=20= =20 setting=20(empty). I suggest to review changes ("df" instead of "tf" in etcupdate) to at=20=20 least=20those files which you know you have modified, including the=20=20 password/group=20stuff. After that you can decide if the diff which is=20= =20 shown=20with "df" can be applied ("tf"), or if you want to keep the old=20= =20 version=20("mf"), or if you want to modify the current file ("e", with=20= =20 both=20versions present in the file so that you can copy/paste between=20= =20 the=20different versions and keep what you need). Bye, Alexander. --=20 http://www.Leidinger.net=20Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF --=_Rpe4aGUFSs02wNReq4vofJ3 Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIzBAABCAAdFiEER9UlYXp1PSd08nWXEg2wmwP42IYFAmR1mp0ACgkQEg2wmwP4 2IZq4hAArHrDx25Ilk+njKh+EGkfPwUKDuDjtlcqFuzp9K2VsTACoU4d9M9a6AB/ I9wJRvgynJj6PRZpq29uEm1ScWbVwScTbaH5cpVt4WvbLbywDrJdmi42xH5mv7Ud bJSEYWkpVJg735RBk6ZIRB+85lKY3cUg+B20gh6AYX3tdwPDA7QYR/GCcWMnQOGM k3NTmlI4rVKaUw2zTv+f/ErQZA1Izwb9f1mYsfXzo3jsDY0fFa62Ym+0srzC+L/c wQK3K1JRlAvbaWb7aQlT5WeMRHRUKp3fHsA1KJJqLKa6GAkl78tnTOfrENT1B8wh Ka4RrJCJV5dYazQRTuS6uW9sOoyjPOAIVEM5G6Jqw6B0j6O2HhNGQcrNg+UPuIcm Q8OOYOjqdeK/I5eqXWLzGB2v1PoKNQf+kB4Se1OSpZxesgpYzQSa5XGsM2yUD0ce HkJKAFvjY9oCzAvd1Mw7M3SXAFkOXCC1qK661km1RPY2rOf79TYLZ7cQFmQgSGP5 FTgqLvKcJRtWAl7ihcSFW3Zo1mUZz9AzaoKFlxFQK3rukXaTaKWYa9TfEXmFW4Aw Km8NqXrZ7pRn49Cp5Um/JrEsq4E+WEnYLTMPBKW5/O2w0+YHWCz6HDriGeZdlD7L vaeGkiHkXacmrdKlCf0p60V6eBJUX/DnwJV6jAJpMyaGAPm2KGo= =dsyk -----END PGP SIGNATURE----- --=_Rpe4aGUFSs02wNReq4vofJ3--