[Bug 280995] [PATCH] pwdbopen: don't check effective UID

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 22 Aug 2024 17:13:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280995

--- 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 able
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#n145

-- 
You are receiving this mail because:
You are the assignee for the bug.