Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 2024 17:13:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 280995] [PATCH] pwdbopen: don't check effective UID
Message-ID:  <bug-280995-227-JAMTGIG0n5@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-280995-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-280995-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280995-227-JAMTGIG0n5>