From nobody Thu Aug 22 17:13:26 2024 X-Original-To: bugs@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 4WqVCW10TYz5TJ2H for ; Thu, 22 Aug 2024 17:13:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WqVCV5tFjz46D7 for ; Thu, 22 Aug 2024 17:13:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724346806; a=rsa-sha256; cv=none; b=sMFMjPwBTO454ZqSKKGKWQKdlC01gSMi9oQAmv+zNwDa55bRKPvc1lt/lCYF2Tak1bP7Kq EphP0pVc99NFZc0ulRXklf1d0EfMECc7NXvanR89FU1mlcoGP0mXX2g/JgmZNKTJwcjLy6 LkkXppyH5Xdd53D+T+nk26F9X80t7DCR4w243+KlJ8dErYZSM4Itgfa4A7AUXKzkzxWLdb pSA2VUBWGBgwpclxGg2BoSueGQmQcnSK/UDvzt2Z/1avrp76Ykl+ieqMl1I+UT/b/X64Cx 9tz4ws7xwpOrHbHrMM2kFb2qM2UGo5qsZYL+vex4YUExBJ6KZH9lZYd5yfHJZg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724346806; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fNe9CKp1hAKmUQ14WQH+ZB8nFJxBSy4X7pnUlT+uUN4=; b=ch53Vv0+RuDoPConHTpqQdsG854rzoDTkuDrocEqe+3bIKB/tPLtIOFqF9GS97qoQPVpUp krwDrwODxvNpJ1xF0I1dwchkhtJFonTVfcBKZp7IjElHDBj71dSfK0XupZmNBthJqgxNkj n0SgaduvQSR6JtxzNZW0SnVYDZ/nrYXxQCjOUF7YH8MUnQuFtj9QKFpiRK9NHeiaoabhOB 7cHleHmE1V+dAjQkpGnIFBX9KwWFdY7QCjldpeHJW9qWHsnQfFPyJaf5mmhC6TWZSZNLjl Uce/4DBwiZ/rTmsVUhuiyt4tPSIfYMiBpb/5fH2EMs4wKDNxzvSkN4oaJyTzpw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WqVCV5Shgzbxf for ; Thu, 22 Aug 2024 17:13:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 47MHDQaH014917 for ; Thu, 22 Aug 2024 17:13:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47MHDQYO014915 for bugs@FreeBSD.org; Thu, 22 Aug 2024 17:13:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 280995] [PATCH] pwdbopen: don't check effective UID Date: Thu, 22 Aug 2024 17:13:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: me@levitati.ng X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280995 --- Comment #2 from me@levitati.ng --- The getpwnam(3) man page would also need a slight update. And I've been considering if it is a good idea to add an error message in pam_unix.c for when the passwords cannot be accessed. Currently, the error for a failed authentication and error for not being ab= le to open the password file are both "Authentication refused". An error like "Could not access encrypted passwords" could be more descriptive. https://cgit.freebsd.org/src/blame/lib/libpam/modules/pam_unix/pam_unix.c#n= 145 --=20 You are receiving this mail because: You are the assignee for the bug.=