]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r358066:
authorCy Schubert <cy@FreeBSD.org>
Thu, 19 Mar 2020 03:31:12 +0000 (03:31 +0000)
committerCy Schubert <cy@FreeBSD.org>
Thu, 19 Mar 2020 03:31:12 +0000 (03:31 +0000)
commit360a6ddc130b92153937192a1dfe2bc5ab8ccae2
tree7f0697db9887714053529ebf440cbd7aceb9a1a6
parentfd142bb5325aac144f6d970b9e7b5864059e8993
MFC r358066:

When pam_login_access(5) fails to match a username it attempts to
match the primary group a user belongs to. This commit extends the
match to secondary groups a user belongs to as well, just as the Linux
pam_access(5) does.

Approved by: des (implicit, blanket)
lib/libpam/modules/pam_login_access/login_access.c